3 element {struct tm} int tm_sec
4 element {struct tm} int tm_min
5 element {struct tm} int tm_hour
6 element {struct tm} int tm_mday
7 element {struct tm} int tm_mon
8 element {struct tm} int tm_year
9 element {struct tm} int tm_wday
10 element {struct tm} int tm_yday
11 element {struct tm} int tm_isdst
14 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
17 constant CLOCKS_PER_SEC
18 constant CLOCK_PROCESS_CPUTIME_ID
19 constant CLOCK_THREAD_CPUTIME_ID
21 type {struct timespec}
23 element {struct timespec} time_t tv_sec
24 element {struct timespec} long tv_nsec
26 type {struct itimerspec}
28 element {struct itimerspec} {struct timespec} it_interval
29 element {struct itimerspec} {struct timespec} it_value
31 constant CLOCK_REALTIME
32 constant TIMER_ABSTIME
33 constant CLOCK_MONOTONIC
41 #if defined XOPEN2K8 || defined POSIX2008
47 #if !defined POSIX && !defined POSIX2008
48 variable int getdate_err
51 function {char*} asctime (const struct tm*)
52 function {char*} asctime_r (const struct tm*, char*)
53 function clock_t clock (void)
54 function int clock_getcpuclockid (pid_t, clockid_t*)
55 function int clock_getres (clockid_t, struct timespec*)
56 function int clock_gettime (clockid_t, struct timespec*)
57 function int clock_nanosleep (clockid_t, int, const struct timespec*, struct timespec*)
58 function int clock_settime (clockid_t, const struct timespec*)
59 function {char*} ctime (const time_t*)
60 function {char*} ctime_r (const time_t*, char*)
61 function double difftime (time_t, time_t)
62 #if !defined POSIX && !defined POSIX2008
63 function {struct tm*} getdate (const char*)
65 function {struct tm*} gmtime (const time_t*)
66 function {struct tm*} gmtime_r (const time_t*, struct tm*)
67 function {struct tm*} localtime (const time_t*)
68 function {struct tm*} localtime_r (const time_t*, struct tm*)
69 function time_t mktime (struct tm*)
70 function int nanosleep (const struct timespec*, struct timespec*)
71 function size_t strftime (char*, size_t, const char*, const struct tm*)
72 #if defined XOPEN2K8 || defined POSIX2008
73 function size_t strftime_l (char*, size_t, const char*, const struct tm*, locale_t)
75 #if !defined POSIX && !defined POSIX2008
76 function {char*} strptime (const char*, const char*, struct tm*)
78 function time_t time (time_t*)
79 function int timer_create (clockid_t, struct sigevent*, timer_t*)
80 function int timer_delete (timer_t)
81 function int timer_gettime (timer_t, struct itimerspec*)
82 function int timer_getoverrun (timer_t)
83 function int timer_settime (timer_t, int, const struct itimerspec*, struct itimerspec*)
84 function void tzset (void)
86 #if !defined POSIX && !defined POSIX2008
88 variable {long int} timezone
90 variable {char*} tzname [2]