[libc++][Android] Allow testing libc++ with clang-r536225 (#116149)
[llvm-project.git] / libc / newhdrgen / yaml / time.yaml
blob69b40bef3160dd3e31c606ea202e018a8fd48d6b
1 header: time.h
2 macros: []
3 types:
4   - type_name: struct_timeval
5   - type_name: clockid_t
6   - type_name: struct_timespec
7   - type_name: struct_tm
8   - type_name: time_t
9   - type_name: clock_t
10   - type_name: size_t
11 enums: []
12 objects: []
13 functions:
14   - name: asctime
15     standard:
16       - stdc
17     return_type: char *
18     arguments:
19       - type: const struct tm *
20   - name: asctime_r
21     standard:
22       - stdc
23     return_type: char *
24     arguments:
25       - type: struct tm *
26       - type: char *
27   - name: ctime
28     standard:
29       - stdc
30     return_type: char *
31     arguments:
32       - type: const time_t *
33   - name: ctime_r
34     standard:
35       - stdc
36     return_type: char *
37     arguments:
38       - type: const time_t *
39       - type: char *
40   - name: clock
41     standard:
42       - stdc
43     return_type: clock_t
44     arguments:
45       - type: void
46   - name: clock_gettime
47     standard:
48       - POSIX
49     return_type: int
50     arguments:
51       - type: clockid_t
52       - type: struct timespec *
53   - name: difftime
54     standard:
55       - stdc
56     return_type: double
57     arguments:
58       - type: time_t
59       - type: time_t
60   - name: gettimeofday
61     standard:
62       - POSIX
63     return_type: int
64     arguments:
65       - type: struct timeval *
66       - type: void *
67   - name: gmtime
68     standard:
69       - stdc
70     return_type: struct tm *
71     arguments:
72       - type: time_t *
73   - name: gmtime_r
74     standard:
75       - stdc
76     return_type: struct tm *
77     arguments:
78       - type: time_t *
79       - type: struct tm *
80   - name: mktime
81     standard:
82       - stdc
83     return_type: time_t
84     arguments:
85       - type: struct tm *
86   - name: nanosleep
87     standard:
88       - POSIX
89     return_type: int
90     arguments:
91       - type: const struct timespec *
92       - type: struct timespec *
93   - name: time
94     standard:
95       - stdc
96     return_type: time_t
97     arguments:
98       - type: time_t *