File tree Expand file tree Collapse file tree 4 files changed +56
-56
lines changed Expand file tree Collapse file tree 4 files changed +56
-56
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
header : malloc.h
2
- header_template : malloc.h.def
3
- macros : []
4
- types : []
5
- enums : []
6
- objects : []
2
+ standards :
3
+ - gnu
4
+ merge_yaml_files :
5
+ - stdlib-malloc.yaml
6
+ macros :
7
+ - macro_name : M_PURGE
8
+ macro_header : malloc-macros.h
9
+ - macro_name : M_PURGE_ALL
10
+ macro_header : malloc-macros.h
7
11
functions :
8
12
- name : mallopt
9
13
standards :
10
- - GNUExtensions
14
+ - gnu
11
15
return_type : int
12
16
arguments :
13
17
- type : int
Original file line number Diff line number Diff line change
1
+ # This file has declarations that appear both in <stdlib.h> and in <malloc.h>.
2
+
3
+ functions :
4
+ - name : aligned_alloc
5
+ standards :
6
+ - stdc
7
+ return_type : void *
8
+ arguments :
9
+ - type : size_t
10
+ - type : size_t
11
+ - name : calloc
12
+ standards :
13
+ - stdc
14
+ return_type : void *
15
+ arguments :
16
+ - type : size_t
17
+ - type : size_t
18
+ - name : free
19
+ standards :
20
+ - stdc
21
+ return_type : void
22
+ arguments :
23
+ - type : void *
24
+ - name : malloc
25
+ standards :
26
+ - stdc
27
+ return_type : void *
28
+ arguments :
29
+ - type : size_t
30
+ - name : realloc
31
+ standards :
32
+ - stdc
33
+ return_type : void *
34
+ arguments :
35
+ - type : void *
36
+ - type : size_t
37
+
38
+ # Note: glibc's <stdlib.h> and <malloc.h> both have these, which are
39
+ # currently missing here:
40
+ # - name: reallocarray
41
+ # - name: memalign
42
+ # - name: valloc
43
+ # Each of those glibc headers also has related functions the other lacks.
44
+ # Only the common subset is mentioned here for future consideration.
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ header: stdlib.h
2
2
header_template : stdlib.h.def
3
3
standards :
4
4
- stdc
5
+ merge_yaml_files :
6
+ - stdlib-malloc.yaml
5
7
macros : []
6
8
types :
7
9
- type_name : __atexithandler_t
@@ -34,13 +36,6 @@ functions:
34
36
return_type : int
35
37
arguments :
36
38
- type : int
37
- - name : aligned_alloc
38
- standards :
39
- - stdc
40
- return_type : void *
41
- arguments :
42
- - type : size_t
43
- - type : size_t
44
39
- name : at_quick_exit
45
40
standards :
46
41
- stdc
@@ -87,13 +82,6 @@ functions:
87
82
- type : size_t
88
83
- type : size_t
89
84
- type : __bsearchcompare_t
90
- - name : calloc
91
- standards :
92
- - stdc
93
- return_type : void *
94
- arguments :
95
- - type : size_t
96
- - type : size_t
97
85
- name : div
98
86
standards :
99
87
- stdc
@@ -107,12 +95,6 @@ functions:
107
95
return_type : _Noreturn void
108
96
arguments :
109
97
- type : int
110
- - name : free
111
- standards :
112
- - stdc
113
- return_type : void
114
- arguments :
115
- - type : void *
116
98
- name : getenv
117
99
standards :
118
100
- stdc
@@ -145,12 +127,6 @@ functions:
145
127
arguments :
146
128
- type : long long
147
129
- type : long long
148
- - name : malloc
149
- standards :
150
- - stdc
151
- return_type : void *
152
- arguments :
153
- - type : size_t
154
130
- name : qsort
155
131
standards :
156
132
- stdc
@@ -182,13 +158,6 @@ functions:
182
158
return_type : int
183
159
arguments :
184
160
- type : void
185
- - name : realloc
186
- standards :
187
- - stdc
188
- return_type : void *
189
- arguments :
190
- - type : void *
191
- - type : size_t
192
161
- name : srand
193
162
standards :
194
163
- stdc
You can’t perform that action at this time.
0 commit comments