cfns.gperf revision 132719
1%{ 2#ifdef __GNUC__ 3__inline 4#endif 5static unsigned int hash (const char *, unsigned int); 6#ifdef __GNUC__ 7__inline 8#endif 9const char * libc_name_p (const char *, unsigned int); 10%} 11%% 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# 20# Specific functions are commented out for the reason noted in each case. 21# 22# abort -- synchronous exception from SIGABRT handler 23abs 24acos 25asctime 26asin 27atan 28atan2 29atexit 30atof 31atoi 32atol 33#bsearch -- calls user function which may throw exception 34btowc 35calloc 36ceil 37clearerr 38clock 39cos 40cosh 41ctime 42difftime 43div 44exit 45exp 46fabs 47#fclose -- POSIX thread cancellation point 48feof 49ferror 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 56floor 57fmod 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 65free 66#freopen -- POSIX thread cancellation point 67frexp 68#fscanf -- POSIX thread cancellation point 69fseek 70#fsetpos -- POSIX thread cancellation point 71#ftell -- POSIX thread cancellation point 72fwide 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 78getenv 79#gets -- POSIX thread cancellation point 80#getwc -- POSIX thread cancellation point 81#getwchar -- POSIX thread cancellation point 82gmtime 83isalnum 84isalpha 85iscntrl 86isdigit 87isgraph 88islower 89isprint 90ispunct 91isspace 92isupper 93iswalnum 94iswalpha 95iswcntrl 96iswctype 97iswdigit 98iswgraph 99iswlower 100iswprint 101iswpunct 102iswspace 103iswupper 104iswxdigit 105isxdigit 106labs 107ldexp 108ldiv 109localeconv 110localtime 111log 112log10 113longjmp 114malloc 115mblen 116mbrlen 117mbrtowc 118mbsinit 119mbsrtowcs 120mbstowcs 121mbtowc 122memchr 123memcmp 124memcpy 125memmove 126memset 127mktime 128modf 129#perror -- POSIX thread cancellation point 130pow 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 139rand 140realloc 141#remove -- POSIX thread cancellation point 142#rename -- POSIX thread cancellation point 143#rewind -- POSIX thread cancellation point 144#scanf -- POSIX thread cancellation point 145setbuf 146setlocale 147setvbuf 148signal 149sin 150sinh 151sprintf 152sqrt 153srand 154sscanf 155strcat 156strchr 157strcmp 158strcoll 159strcpy 160strcspn 161#strerror -- POSIX thread cancellation point 162strftime 163strlen 164strncat 165strncmp 166strncpy 167strpbrk 168strrchr 169strspn 170strstr 171strtod 172strtok 173strtol 174strtoul 175strxfrm 176swprintf 177swscanf 178#system -- POSIX thread cancellation point 179tan 180tanh 181time 182#tmpfile -- POSIX thread cancellation point 183#tmpnam -- POSIX thread cancellation point 184tolower 185toupper 186towctrans 187towlower 188towupper 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 194vsprintf 195vswprintf 196#vwprintf -- POSIX thread cancellation point 197wcrtomb 198wcscat 199wcschr 200wcscmp 201wcscoll 202wcscpy 203wcscspn 204wcsftime 205wcslen 206wcsncat 207wcsncmp 208wcsncpy 209wcspbrk 210wcsrchr 211wcsrtombs 212wcsspn 213wcsstr 214wcstod 215wcstok 216wcstol 217wcstombs 218wcstoul 219wcsxfrm 220wctob 221wctomb 222wctrans 223wctype 224wmemchr 225wmemcmp 226wmemcpy 227wmemmove 228wmemset 229#wprintf -- POSIX thread cancellation point 230#wscanf -- POSIX thread cancellation point 231