1 macro-constant NULL == 0
2 macro CLOCKS_PER_SEC {clock_t}
5 macro-int-constant TIME_UTC > 0
8 #if !defined ISO && !defined ISO99 && !defined XPG3 && !defined XPG4
11 element {struct timespec} time_t tv_sec
12 element {struct timespec} long tv_nsec
21 element {struct tm} int tm_sec
22 element {struct tm} int tm_min
23 element {struct tm} int tm_hour
24 element {struct tm} int tm_mday
25 element {struct tm} int tm_mon
26 element {struct tm} int tm_year
27 element {struct tm} int tm_wday
28 element {struct tm} int tm_yday
29 element {struct tm} int tm_isdst
31 function clock_t clock (void)
32 function double difftime (time_t, time_t)
33 function time_t mktime (struct tm*)
34 function time_t time (time_t*)
35 function {char*} asctime (const struct tm*)
36 function {char*} ctime (const time_t*)
37 function {struct tm*} gmtime (const time_t*)
38 function {struct tm*} localtime (const time_t*)
39 function size_t strftime (char*, size_t, const char*, const struct tm*)
41 function int timespec_get (struct timespec *, int)
44 #if !defined ISO && !defined ISO99 && !defined ISO11
45 # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
48 # if !defined XPG3 && !defined XPG4
49 # if !defined POSIX && !defined UNIX98
50 constant CLOCK_PROCESS_CPUTIME_ID
51 constant CLOCK_THREAD_CPUTIME_ID
54 type {struct itimerspec}
56 element {struct itimerspec} {struct timespec} it_interval
57 element {struct itimerspec} {struct timespec} it_value
59 constant CLOCK_REALTIME
60 constant TIMER_ABSTIME
61 # if !defined POSIX && !defined UNIX98
62 constant CLOCK_MONOTONIC
69 # if defined XOPEN2K8 || defined POSIX2008
75 # if !defined POSIX && !defined POSIX2008
76 variable int getdate_err
79 function {char*} asctime_r (const struct tm*, char*)
80 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
81 function int clock_getcpuclockid (pid_t, clockid_t*)
83 #if !defined XPG3 && !defined XPG4
84 function int clock_getres (clockid_t, struct timespec*)
85 function int clock_gettime (clockid_t, struct timespec*)
87 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
88 function int clock_nanosleep (clockid_t, int, const struct timespec*, struct timespec*)
90 #if !defined XPG3 && !defined XPG4
91 function int clock_settime (clockid_t, const struct timespec*)
93 function {char*} ctime_r (const time_t*, char*)
94 # if !defined POSIX && !defined POSIX2008
95 function {struct tm*} getdate (const char*)
97 function {struct tm*} gmtime_r (const time_t*, struct tm*)
98 function {struct tm*} localtime_r (const time_t*, struct tm*)
99 # if !defined XPG3 && !defined XPG4
100 function int nanosleep (const struct timespec*, struct timespec*)
102 # if defined XOPEN2K8 || defined POSIX2008
103 function size_t strftime_l (char*, size_t, const char*, const struct tm*, locale_t)
105 # if !defined POSIX && !defined POSIX2008
106 function {char*} strptime (const char*, const char*, struct tm*)
108 # if !defined XPG3 && !defined XPG4
109 function int timer_create (clockid_t, struct sigevent*, timer_t*)
110 function int timer_delete (timer_t)
111 function int timer_gettime (timer_t, struct itimerspec*)
112 function int timer_getoverrun (timer_t)
113 function int timer_settime (timer_t, int, const struct itimerspec*, struct itimerspec*)
115 function void tzset (void)
117 # if !defined POSIX && !defined POSIX2008
118 variable int daylight
119 variable {long int} timezone
121 variable {char*} tzname [2]