2.9
[glibc/nacl-glibc.git] / conform / data / time.h-data
blob805c48dd6fa376d88076e96c308f2c268b4393b0
1 type {struct tm}
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
13 constant NULL
14 #ifndef XOPEN2K
15 constant CLK_TCK
16 #endif
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
35 type clock_t
36 type clockid_t
37 type size_t
38 type time_t
39 type timer_t
41 variable int getdate_err
43 function {char*} asctime (const struct tm*)
44 function {char*} asctime_r (const struct tm*, char*)
45 function clock_t clock (void)
46 function int clock_getcpuclockid (pid_t, clockid_t*)
47 function int clock_getres (clockid_t, struct timespec*)
48 function int clock_gettime (clockid_t, struct timespec*)
49 function int clock_nanosleep (clockid_t, int, const struct timespec*, struct timespec*)
50 function int clock_settime (clockid_t, const struct timespec*)
51 function {char*} ctime (const time_t*)
52 function {char*} ctime_r (const time_t*, char*)
53 function double difftime (time_t, time_t)
54 function {struct tm*} getdate (const char*)
55 function {struct tm*} gmtime (const time_t*)
56 function {struct tm*} gmtime_r (const time_t*, struct tm*)
57 function {struct tm*} localtime (const time_t*)
58 function {struct tm*} localtime_r (const time_t*, struct tm*)
59 function time_t mktime (struct tm*)
60 function int nanosleep (const struct timespec*, struct timespec*)
61 function size_t strftime (char*, size_t, const char*, const struct tm*)
62 function {char*} strptime (const char*, const char*, struct tm*)
63 function time_t time (time_t*)
64 function int timer_create (clockid_t, struct sigevent*, timer_t*)
65 function int timer_delete (timer_t)
66 function int timer_gettime (timer_t, struct itimerspec*)
67 function int timer_getoverrun (timer_t)
68 function int timer_settime (timer_t, int, const struct itimerspec*, struct itimerspec*)
69 function void tzset (void)
71 variable int daylight
72 variable {long int} timezone
73 variable {char*} tzname [2]
75 allow tm_*
76 allow clock_*
77 allow timer_*
78 allow it_*
79 allow tv_*
80 allow CLOCK_*
81 allow TIMER_*
82 allow *_t