aboutsummaryrefslogtreecommitdiff
path: root/compiler/backend/c_stddefs.txt
blob: a7bb3682d0a8f568dd92ca2193588c427a83b3a9 (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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171

//
// Copyright © 2014 Samuel Lidén Borell <samuel@kodafritt.se>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//

// This file lists identifiers that are defined by the C standards library (the
// parts included by LRL) and should not be generated again even if they are
// declared e.g. in an header included (possibly indirectly) in the interop.
//
// This list includes internal identifiers that are defined by glibc, and
// should be extended with internal identifiers of other common C libraries.
char
short
int
long
_Bool
pthread_*
__pthread_*

__acos
__asin
__atan
__atan2
__bzero
__ceil
__compar_fn_t
__cos
__cosh
__ctype_get_mb_cur_max
__exp
__fabs
__finite
__floor
__fmod
__frexp
__isinf
__isnan
__ldexp
__log
__log10
__modf
__pow
__sin
__sinh
__sqrt
__strtok_r
__tan
__tanh
abort
abs
acos
asin
atan
atan2
atexit
atof
atoi
atol
bsearch
calloc
ceil
cos
cosh
div
div_t
exit
exp
fabs
floor
fmod
free
frexp
getenv
int16_t
int32_t
int64_t
int8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_fast8_t
int_least16_t
int_least32_t
int_least64_t
int_least8_t
intmax_t
intptr_t
labs
ldexp
ldiv
ldiv_t
log
log10
malloc
mblen
mbstowcs
mbtowc
memchr
memcmp
memcpy
memmove
memset
modf
pow
ptrdiff_t
qsort
rand
realloc
sin
sinh
size_t
sqrt
srand
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strerror
strlen
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtod
strtok
strtol
strtoul
strxfrm
system
tan
tanh
uint16_t
uint32_t
uint64_t
uint8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_fast8_t
uint_least16_t
uint_least32_t
uint_least64_t
uint_least8_t
uintmax_t
uintptr_t
wchar_t
wcstombs
wctomb