2 /* Copyright (C) 2000-2014 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
22 static unsigned int hash (const char *, unsigned int);
26 const char * libc_name_p (const char *, unsigned int);
29 # The standard C library functions, for feeding to gperf; the result is used
32 # [lib.res.on.exception.handling]: None of the functions from the
33 # Standard C library shall report an error by throwing an
34 # exception, unless it calls a program-supplied function that
35 # throws an exception.
37 # Specific functions are commented out for the reason noted in each case.
39 # abort -- synchronous exception from SIGABRT handler
50 #bsearch -- calls user function which may throw exception
64 #fclose -- POSIX thread cancellation point
67 #fflush -- POSIX thread cancellation point
68 #fgetc -- POSIX thread cancellation point
69 #fgetpos -- POSIX thread cancellation point
70 #fgets -- POSIX thread cancellation point
71 #fgetwc -- POSIX thread cancellation point
72 #fgetws -- POSIX thread cancellation point
75 #fopen -- POSIX thread cancellation point
76 #fprintf -- POSIX thread cancellation point
77 #fputc -- POSIX thread cancellation point
78 #fputs -- POSIX thread cancellation point
79 #fputwc -- POSIX thread cancellation point
80 #fputws -- POSIX thread cancellation point
81 #fread -- POSIX thread cancellation point
83 #freopen -- POSIX thread cancellation point
85 #fscanf -- POSIX thread cancellation point
87 #fsetpos -- POSIX thread cancellation point
88 #ftell -- POSIX thread cancellation point
90 #fwprintf -- POSIX thread cancellation point
91 #fwrite -- POSIX thread cancellation point
92 #fwscanf -- POSIX thread cancellation point
93 #getc -- POSIX thread cancellation point
94 #getchar -- POSIX thread cancellation point
96 #gets -- POSIX thread cancellation point
97 #getwc -- POSIX thread cancellation point
98 #getwchar -- POSIX thread cancellation point
146 #perror -- POSIX thread cancellation point
148 #printf -- POSIX thread cancellation point
149 #putc -- POSIX thread cancellation point
150 #putchar -- POSIX thread cancellation point
151 #puts -- POSIX thread cancellation point
152 #putwc -- POSIX thread cancellation point
153 #putwchar -- POSIX thread cancellation point
154 #qsort -- calls user function which may throw exception
155 #raise -- synchronous exception from signal handler
158 #remove -- POSIX thread cancellation point
159 #rename -- POSIX thread cancellation point
160 #rewind -- POSIX thread cancellation point
161 #scanf -- POSIX thread cancellation point
178 #strerror -- POSIX thread cancellation point
195 #system -- POSIX thread cancellation point
199 #tmpfile -- POSIX thread cancellation point
200 #tmpnam -- POSIX thread cancellation point
206 #ungetc -- POSIX thread cancellation point
207 #ungetwc -- POSIX thread cancellation point
208 #vfprintf -- POSIX thread cancellation point
209 #vfwprintf -- POSIX thread cancellation point
210 #vprintf -- POSIX thread cancellation point
213 #vwprintf -- POSIX thread cancellation point
246 #wprintf -- POSIX thread cancellation point
247 #wscanf -- POSIX thread cancellation point