32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2
[glibc.git] / conform / data / time.h-data
blobe2ff298ea749c78fb6182f25a3c57c249996c20a
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 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
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 #if defined XOPEN2K8 || defined POSIX2008
42 type pid_t
43 type locale_t
44 tag {struct sigevent}
45 #endif
47 #if !defined POSIX && !defined POSIX2008
48 variable int getdate_err
49 #endif
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*)
64 #endif
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)
74 #endif
75 #if !defined POSIX && !defined POSIX2008
76 function {char*} strptime (const char*, const char*, struct tm*)
77 #endif
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
87 variable int daylight
88 variable {long int} timezone
89 #endif
90 variable {char*} tzname [2]
92 allow tm_*
93 allow clock_*
94 allow timer_*
95 allow it_*
96 allow tv_*
97 allow CLOCK_*
98 allow TIMER_*
99 allow *_t
100 allow sigevent