minix/lib/other/settimeofday.c
2005-06-10 15:12:03 +00:00

14 lines
202 B
C

/*
settimeofday.c
*/
#define stime _stime
#include <sys/time.h>
#include <time.h>
int settimeofday(const struct timeval *tp, const void *tzp)
{
/* Ignore time zones */
return stime(&tp->tv_sec);
}