source:
trunk/minix/lib/other/settimeofday.c@
9
Last change on this file since 9 was 9, checked in by , 14 years ago | |
---|---|
File size: 202 bytes |
Line | |
---|---|
1 | /* |
2 | settimeofday.c |
3 | */ |
4 | |
5 | #define stime _stime |
6 | |
7 | #include <sys/time.h> |
8 | #include <time.h> |
9 | |
10 | int settimeofday(const struct timeval *tp, const void *tzp) |
11 | { |
12 | /* Ignore time zones */ |
13 | return stime(&tp->tv_sec); |
14 | } |
Note:
See TracBrowser
for help on using the repository browser.