1%{ 2/* Copyright (C) 2000, 2003 Free Software Foundation, Inc. 3 4This file is part of GCC. 5 6GCC is free software; you can redistribute it and/or modify it under 7the terms of the GNU General Public License as published by the Free 8Software Foundation; either version 3, or (at your option) any later 9version. 10 11GCC is distributed in the hope that it will be useful, but WITHOUT ANY 12WARRANTY; without even the implied warranty of MERCHANTABILITY or 13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14for more details. 15 16You should have received a copy of the GNU General Public License 17along with GCC; see the file COPYING3. If not see 18<http://www.gnu.org/licenses/>. */ 19#ifdef __GNUC__ 20__inline 21#endif 22static unsigned int hash (const char *, unsigned int); 23#ifdef __GNUC__ 24__inline 25#endif 26const char * libc_name_p (const char *, unsigned int); 27%} 28%% 29# The standard C library functions, for feeding to gperf; the result is used 30# by nothrow_libfn_p. 31# 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. 36# 37# Specific functions are commented out for the reason noted in each case. 38# 39# abort -- synchronous exception from SIGABRT handler 40abs 41acos 42asctime 43asin 44atan 45atan2 46atexit 47atof 48atoi 49atol 50#bsearch -- calls user function which may throw exception 51btowc 52calloc 53ceil 54clearerr 55clock 56cos 57cosh 58ctime 59difftime 60div 61exit 62exp 63fabs 64#fclose -- POSIX thread cancellation point 65feof 66ferror 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 73floor 74fmod 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 82free 83#freopen -- POSIX thread cancellation point 84frexp 85#fscanf -- POSIX thread cancellation point 86fseek 87#fsetpos -- POSIX thread cancellation point 88#ftell -- POSIX thread cancellation point 89fwide 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 95getenv 96#gets -- POSIX thread cancellation point 97#getwc -- POSIX thread cancellation point 98#getwchar -- POSIX thread cancellation point 99gmtime 100isalnum 101isalpha 102iscntrl 103isdigit 104isgraph 105islower 106isprint 107ispunct 108isspace 109isupper 110iswalnum 111iswalpha 112iswcntrl 113iswctype 114iswdigit 115iswgraph 116iswlower 117iswprint 118iswpunct 119iswspace 120iswupper 121iswxdigit 122isxdigit 123labs 124ldexp 125ldiv 126localeconv 127localtime 128log 129log10 130longjmp 131malloc 132mblen 133mbrlen 134mbrtowc 135mbsinit 136mbsrtowcs 137mbstowcs 138mbtowc 139memchr 140memcmp 141memcpy 142memmove 143memset 144mktime 145modf 146#perror -- POSIX thread cancellation point 147pow 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 156rand 157realloc 158#remove -- POSIX thread cancellation point 159#rename -- POSIX thread cancellation point 160#rewind -- POSIX thread cancellation point 161#scanf -- POSIX thread cancellation point 162setbuf 163setlocale 164setvbuf 165signal 166sin 167sinh 168sprintf 169sqrt 170srand 171sscanf 172strcat 173strchr 174strcmp 175strcoll 176strcpy 177strcspn 178#strerror -- POSIX thread cancellation point 179strftime 180strlen 181strncat 182strncmp 183strncpy 184strpbrk 185strrchr 186strspn 187strstr 188strtod 189strtok 190strtol 191strtoul 192strxfrm 193swprintf 194swscanf 195#system -- POSIX thread cancellation point 196tan 197tanh 198time 199#tmpfile -- POSIX thread cancellation point 200#tmpnam -- POSIX thread cancellation point 201tolower 202toupper 203towctrans 204towlower 205towupper 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 211vsprintf 212vswprintf 213#vwprintf -- POSIX thread cancellation point 214wcrtomb 215wcscat 216wcschr 217wcscmp 218wcscoll 219wcscpy 220wcscspn 221wcsftime 222wcslen 223wcsncat 224wcsncmp 225wcsncpy 226wcspbrk 227wcsrchr 228wcsrtombs 229wcsspn 230wcsstr 231wcstod 232wcstok 233wcstol 234wcstombs 235wcstoul 236wcsxfrm 237wctob 238wctomb 239wctrans 240wctype 241wmemchr 242wmemcmp 243wmemcpy 244wmemmove 245wmemset 246#wprintf -- POSIX thread cancellation point 247#wscanf -- POSIX thread cancellation point 248