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 variable int getdate_err
49 function {char*} asctime (const struct tm*)
50 function {char*} asctime_r (const struct tm*, char*)
51 function clock_t clock (void)
52 function int clock_getcpuclockid (pid_t, clockid_t*)
53 function int clock_getres (clockid_t, struct timespec*)
54 function int clock_gettime (clockid_t, struct timespec*)
55 function int clock_nanosleep (clockid_t, int, const struct timespec*, struct timespec*)
56 function int clock_settime (clockid_t, const struct timespec*)
57 function {char*} ctime (const time_t*)
58 function {char*} ctime_r (const time_t*, char*)
59 function double difftime (time_t, time_t)
60 #if !defined POSIX && !defined POSIX2008
61 function {struct tm*} getdate (const char*)
63 function {struct tm*} gmtime (const time_t*)
64 function {struct tm*} gmtime_r (const time_t*, struct tm*)
65 function {struct tm*} localtime (const time_t*)
66 function {struct tm*} localtime_r (const time_t*, struct tm*)
67 function time_t mktime (struct tm*)
68 function int nanosleep (const struct timespec*, struct timespec*)
69 function size_t strftime (char*, size_t, const char*, const struct tm*)
70 #if defined XOPEN2K8 || defined POSIX2008
71 function size_t strftime_l (char*, size_t, const char*, const struct tm*, locale_t)
73 #if !defined POSIX && !defined POSIX2008
74 function {char*} strptime (const char*, const char*, struct tm*)
76 function time_t time (time_t*)
77 function int timer_create (clockid_t, struct sigevent*, timer_t*)
78 function int timer_delete (timer_t)
79 function int timer_gettime (timer_t, struct itimerspec*)
80 function int timer_getoverrun (timer_t)
81 function int timer_settime (timer_t, int, const struct itimerspec*, struct itimerspec*)
82 function void tzset (void)
84 #if !defined POSIX && !defined POSIX2008
86 variable {long int} timezone
88 variable {char*} tzname [2]