
/* bsd utimes emulation for Sys V */
/* by Jon Zeeff */

#include <sys/types.h>

struct utimbuf {
     time_t  actime;
     time_t  modtime;
};

struct timeval {
     long    tv_sec;
     long    tv_usec;
};

utimes(path,tvp)
char *path;
struct timeval tvp[2];
{

struct utimbuf times;

times.actime = (time_t) tvp[0].tv_sec;
times.modtime = (time_t) tvp[1].tv_sec;

return utime(path,times);

}
