aboutsummaryrefslogtreecommitdiff
path: root/libc/include/time.yaml
blob: c2b8a1e4cfb8ee0297c530f96673a5b6afe5480c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
header: time.h
header_template: time.h.def
macros:
  - macro_name: "NULL"
    macro_header: null-macro.h
types:
  - type_name: struct_timeval
  - type_name: clockid_t
  - type_name: struct_timespec
  - type_name: struct_tm
  - type_name: time_t
  - type_name: clock_t
  - type_name: size_t
  - type_name: locale_t
enums: []
objects: []
functions:
  - name: asctime
    standard:
      - stdc
    return_type: char *
    arguments:
      - type: const struct tm *
  - name: asctime_r
    standard:
      - stdc
    return_type: char *
    arguments:
      - type: struct tm *
      - type: char *
  - name: ctime
    standard:
      - stdc
    return_type: char *
    arguments:
      - type: const time_t *
  - name: ctime_r
    standard:
      - stdc
    return_type: char *
    arguments:
      - type: const time_t *
      - type: char *
  - name: localtime
    standard:
      - stdc
    return_type: struct tm *
    arguments:
      - type: const time_t *
  - name: localtime_r
    standard:
      - stdc
    return_type: struct tm *
    arguments:
      - type: const time_t *
      - type: struct tm *
  - name: clock
    standard:
      - stdc
    return_type: clock_t
    arguments:
      - type: void
  - name: clock_gettime
    standard:
      - POSIX
    return_type: int
    arguments:
      - type: clockid_t
      - type: struct timespec *
  - name: clock_settime
    standard:
      - POSIX
    return_type: int
    arguments:
      - type: clockid_t
      - type: const struct timespec *
  - name: difftime
    standard:
      - stdc
    return_type: double
    arguments:
      - type: time_t
      - type: time_t
  - name: gettimeofday
    standard:
      - POSIX
    return_type: int
    arguments:
      - type: struct timeval *
      - type: void *
  - name: gmtime
    standard:
      - stdc
    return_type: struct tm *
    arguments:
      - type: time_t *
  - name: gmtime_r
    standard:
      - stdc
    return_type: struct tm *
    arguments:
      - type: time_t *
      - type: struct tm *
  - name: mktime
    standard:
      - stdc
    return_type: time_t
    arguments:
      - type: struct tm *
  - name: nanosleep
    standard:
      - POSIX
    return_type: int
    arguments:
      - type: const struct timespec *
      - type: struct timespec *
  - name: strftime
    standard:
      - stdc
    return_type: size_t
    arguments:
      - type: char *__restrict
      - type: size_t
      - type: const char *__restrict
      - type: const struct tm *__restrict
  - name: strftime_l
    standard:
      - stdc
    return_type: size_t
    arguments:
      - type: char *__restrict
      - type: size_t
      - type: const char *__restrict
      - type: const struct tm *__restrict
      - type: locale_t
  - name: time
    standard:
      - stdc
    return_type: time_t
    arguments:
      - type: time_t *
  - name: timespec_get
    standard:
      - stdc
    return_type: int
    arguments:
      - type: struct timespec *
      - type: int