2 * Acess2 POSIX Emulation
3 * - By John Hodge (thePowersGang)
8 #ifndef _LIBPOSIX__SYS__TIME_H_
9 #define _LIBPOSIX__SYS__TIME_H_
17 typedef unsigned long suseconds_t;
25 // struct timezone . tz_dsttime
29 DST_USA, // USA style DST
30 DST_AUST, // Australian style DST
31 DST_WET, // Western European DST
32 DST_MET, // Middle European DST
33 DST_EET, // Eastern European DST
35 DST_GB, // Great Britain and Eire
38 DST_AUSTALT, // Australia with 1986 shift
49 struct timeval it_interval;
50 struct timeval it_value;
53 // TODO: This should also define fd_set and select()
55 extern int getitimer(int which, struct itimerval *current_value);
56 extern int setitimer(int which, const struct itimerval *new_value, struct itimerval *old_value);
57 extern int gettimeofday(struct timeval *tv, struct timezone *tz);
58 // extern int settimeofday(const struct timeval *tv, const struct timezone *tz); //ifdef _BSD_SOURCE
60 extern int utimes(const char *, const struct timeval [2]);