minix/lib/other/settimeofday.c

15 lines
202 B
C
Raw Normal View History

/*
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);
}