cover null default val
[m6w6/ext-psi] / m4 / posix / sys_time.m4
1 PSI_CHECK_SYS_TIME() {
2 PSI_CONST(ITIMER_REAL, int)
3 PSI_CONST(ITIMER_VIRTUAL, int)
4 PSI_CONST(ITIMER_PROF, int)
5
6 PSI_STRUCT(struct timeval, [
7 time_t tv_sec,
8 suseconds_t tv_usec]
9 )
10 PSI_STRUCT(struct itimerval, [
11 struct timeval it_interval,
12 struct timeval it_value]
13 )
14 PSI_STRUCT(struct timezone, [
15 int tz_minuteswest,
16 int tz_dsttime]
17 )
18
19 PSI_DECL(int getitimer, [(int which, struct itimerval *value)])
20 PSI_DECL(int setitimer, [(int which, struct itimerval *value, struct itimerval *ovalue)])
21 PSI_DECL(int gettimeofday, [(struct timeval *tp, struct timezone *tz)])
22 PSI_DECL(int utimes, [(char *path, struct timeval times@<:@2@:>@)])
23 }