]>
Commit | Line | Data |
---|---|---|
c2e407f1 KG |
1 | %{ |
2 | #ifdef __GNUC__ | |
3 | __inline | |
4 | #endif | |
b2f29cd9 | 5 | static unsigned int hash (const char *, unsigned int); |
c2e407f1 KG |
6 | #ifdef __GNUC__ |
7 | __inline | |
8 | #endif | |
b2f29cd9 | 9 | const char * libc_name_p (const char *, unsigned int); |
c2e407f1 | 10 | %} |
8460025b | 11 | %% |
1660cb3a JM |
12 | # The standard C library functions, for feeding to gperf; the result is used |
13 | # by nothrow_libfn_p. | |
14 | # | |
15 | # [lib.res.on.exception.handling]: None of the functions from the | |
16 | # Standard C library shall report an error by throwing an | |
17 | # exception, unless it calls a program-supplied function that | |
18 | # throws an exception. | |
19 | # | |
a944ceb9 | 20 | # Specific functions are commented out for the reason noted in each case. |
1660cb3a | 21 | # |
a944ceb9 | 22 | # abort -- synchronous exception from SIGABRT handler |
1660cb3a JM |
23 | abs |
24 | acos | |
25 | asctime | |
26 | asin | |
27 | atan | |
28 | atan2 | |
29 | atexit | |
30 | atof | |
31 | atoi | |
32 | atol | |
a944ceb9 | 33 | #bsearch -- calls user function which may throw exception |
1660cb3a JM |
34 | btowc |
35 | calloc | |
36 | ceil | |
37 | clearerr | |
38 | clock | |
39 | cos | |
40 | cosh | |
41 | ctime | |
42 | difftime | |
43 | div | |
44 | exit | |
45 | exp | |
46 | fabs | |
a944ceb9 | 47 | #fclose -- POSIX thread cancellation point |
1660cb3a JM |
48 | feof |
49 | ferror | |
a944ceb9 RH |
50 | #fflush -- POSIX thread cancellation point |
51 | #fgetc -- POSIX thread cancellation point | |
52 | #fgetpos -- POSIX thread cancellation point | |
53 | #fgets -- POSIX thread cancellation point | |
54 | #fgetwc -- POSIX thread cancellation point | |
55 | #fgetws -- POSIX thread cancellation point | |
1660cb3a JM |
56 | floor |
57 | fmod | |
a944ceb9 RH |
58 | #fopen -- POSIX thread cancellation point |
59 | #fprintf -- POSIX thread cancellation point | |
60 | #fputc -- POSIX thread cancellation point | |
61 | #fputs -- POSIX thread cancellation point | |
62 | #fputwc -- POSIX thread cancellation point | |
63 | #fputws -- POSIX thread cancellation point | |
64 | #fread -- POSIX thread cancellation point | |
1660cb3a | 65 | free |
a944ceb9 | 66 | #freopen -- POSIX thread cancellation point |
1660cb3a | 67 | frexp |
a944ceb9 | 68 | #fscanf -- POSIX thread cancellation point |
1660cb3a | 69 | fseek |
a944ceb9 RH |
70 | #fsetpos -- POSIX thread cancellation point |
71 | #ftell -- POSIX thread cancellation point | |
1660cb3a | 72 | fwide |
a944ceb9 RH |
73 | #fwprintf -- POSIX thread cancellation point |
74 | #fwrite -- POSIX thread cancellation point | |
75 | #fwscanf -- POSIX thread cancellation point | |
76 | #getc -- POSIX thread cancellation point | |
77 | #getchar -- POSIX thread cancellation point | |
1660cb3a | 78 | getenv |
a944ceb9 RH |
79 | #gets -- POSIX thread cancellation point |
80 | #getwc -- POSIX thread cancellation point | |
81 | #getwchar -- POSIX thread cancellation point | |
1660cb3a JM |
82 | gmtime |
83 | isalnum | |
84 | isalpha | |
85 | iscntrl | |
86 | isdigit | |
87 | isgraph | |
88 | islower | |
89 | isprint | |
90 | ispunct | |
91 | isspace | |
92 | isupper | |
93 | iswalnum | |
94 | iswalpha | |
95 | iswcntrl | |
96 | iswctype | |
97 | iswdigit | |
98 | iswgraph | |
99 | iswlower | |
100 | iswprint | |
101 | iswpunct | |
102 | iswspace | |
103 | iswupper | |
104 | iswxdigit | |
105 | isxdigit | |
106 | labs | |
107 | ldexp | |
108 | ldiv | |
109 | localeconv | |
110 | localtime | |
111 | log | |
112 | log10 | |
113 | longjmp | |
114 | malloc | |
115 | mblen | |
116 | mbrlen | |
117 | mbrtowc | |
118 | mbsinit | |
119 | mbsrtowcs | |
120 | mbstowcs | |
121 | mbtowc | |
122 | memchr | |
123 | memcmp | |
124 | memcpy | |
125 | memmove | |
126 | memset | |
127 | mktime | |
128 | modf | |
a944ceb9 | 129 | #perror -- POSIX thread cancellation point |
1660cb3a | 130 | pow |
a944ceb9 RH |
131 | #printf -- POSIX thread cancellation point |
132 | #putc -- POSIX thread cancellation point | |
133 | #putchar -- POSIX thread cancellation point | |
134 | #puts -- POSIX thread cancellation point | |
135 | #putwc -- POSIX thread cancellation point | |
136 | #putwchar -- POSIX thread cancellation point | |
137 | #qsort -- calls user function which may throw exception | |
138 | #raise -- synchronous exception from signal handler | |
1660cb3a JM |
139 | rand |
140 | realloc | |
a944ceb9 RH |
141 | #remove -- POSIX thread cancellation point |
142 | #rename -- POSIX thread cancellation point | |
143 | #rewind -- POSIX thread cancellation point | |
144 | #scanf -- POSIX thread cancellation point | |
1660cb3a JM |
145 | setbuf |
146 | setlocale | |
147 | setvbuf | |
148 | signal | |
149 | sin | |
150 | sinh | |
151 | sprintf | |
152 | sqrt | |
153 | srand | |
154 | sscanf | |
155 | strcat | |
156 | strchr | |
157 | strcmp | |
158 | strcoll | |
159 | strcpy | |
160 | strcspn | |
a944ceb9 | 161 | #strerror -- POSIX thread cancellation point |
1660cb3a JM |
162 | strftime |
163 | strlen | |
164 | strncat | |
165 | strncmp | |
166 | strncpy | |
167 | strpbrk | |
168 | strrchr | |
169 | strspn | |
170 | strstr | |
171 | strtod | |
172 | strtok | |
173 | strtol | |
174 | strtoul | |
175 | strxfrm | |
176 | swprintf | |
177 | swscanf | |
a944ceb9 | 178 | #system -- POSIX thread cancellation point |
1660cb3a JM |
179 | tan |
180 | tanh | |
181 | time | |
a944ceb9 RH |
182 | #tmpfile -- POSIX thread cancellation point |
183 | #tmpnam -- POSIX thread cancellation point | |
1660cb3a JM |
184 | tolower |
185 | toupper | |
186 | towctrans | |
187 | towlower | |
188 | towupper | |
a944ceb9 RH |
189 | #ungetc -- POSIX thread cancellation point |
190 | #ungetwc -- POSIX thread cancellation point | |
191 | #vfprintf -- POSIX thread cancellation point | |
192 | #vfwprintf -- POSIX thread cancellation point | |
193 | #vprintf -- POSIX thread cancellation point | |
1660cb3a JM |
194 | vsprintf |
195 | vswprintf | |
a944ceb9 | 196 | #vwprintf -- POSIX thread cancellation point |
1660cb3a JM |
197 | wcrtomb |
198 | wcscat | |
199 | wcschr | |
200 | wcscmp | |
201 | wcscoll | |
202 | wcscpy | |
203 | wcscspn | |
204 | wcsftime | |
205 | wcslen | |
206 | wcsncat | |
207 | wcsncmp | |
208 | wcsncpy | |
209 | wcspbrk | |
210 | wcsrchr | |
211 | wcsrtombs | |
212 | wcsspn | |
213 | wcsstr | |
214 | wcstod | |
215 | wcstok | |
216 | wcstol | |
217 | wcstombs | |
218 | wcstoul | |
219 | wcsxfrm | |
220 | wctob | |
221 | wctomb | |
222 | wctrans | |
223 | wctype | |
224 | wmemchr | |
225 | wmemcmp | |
226 | wmemcpy | |
227 | wmemmove | |
228 | wmemset | |
a944ceb9 RH |
229 | #wprintf -- POSIX thread cancellation point |
230 | #wscanf -- POSIX thread cancellation point |