lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | libc { |
| 2 | GLIBC_2.0 { |
| 3 | # functions with required interface outside normal name space |
| 4 | __argz_count; __argz_stringify; __argz_next; |
| 5 | |
| 6 | # functions used in inline functions or macros |
| 7 | __bzero; __strtok_r; |
| 8 | |
| 9 | # functions used in other libraries |
| 10 | __ffs; __mempcpy; __stpncpy; __stpcpy; __strcasecmp; __strdup; |
| 11 | __strerror_r; |
| 12 | |
| 13 | # a* |
| 14 | argz_add; argz_add_sep; argz_append; argz_count; argz_create; |
| 15 | argz_create_sep; argz_delete; argz_extract; argz_insert; argz_next; |
| 16 | argz_replace; argz_stringify; |
| 17 | |
| 18 | # b* |
| 19 | basename; bcmp; bcopy; bzero; |
| 20 | |
| 21 | # e* |
| 22 | envz_add; envz_entry; envz_get; envz_merge; envz_remove; |
| 23 | envz_strip; |
| 24 | |
| 25 | # f* |
| 26 | ffs; |
| 27 | |
| 28 | # i* |
| 29 | index; |
| 30 | |
| 31 | # m* |
| 32 | memccpy; memchr; memcmp; memcpy; memfrob; memmem; memmove; memset; |
| 33 | |
| 34 | # r* |
| 35 | rindex; |
| 36 | |
| 37 | # s* |
| 38 | stpcpy; stpncpy; strcasecmp; strcat; strchr; strcmp; strcoll; strcpy; |
| 39 | strcspn; strdup; strerror; strerror_r; strfry; strlen; strncasecmp; |
| 40 | strncat; strncmp; strncpy; strndup; strnlen; strpbrk; strrchr; strsep; |
| 41 | strsignal; strspn; strstr; strtok; strtok_r; strxfrm; swab; |
| 42 | } |
| 43 | GLIBC_2.1 { |
| 44 | # functions used in macros and other libraries |
| 45 | __rawmemchr; __strcasestr; |
| 46 | |
| 47 | # f* |
| 48 | ffsl; ffsll; |
| 49 | |
| 50 | # m* |
| 51 | mempcpy; |
| 52 | |
| 53 | # r* |
| 54 | rawmemchr; |
| 55 | |
| 56 | # s* |
| 57 | strcasestr; strverscmp; |
| 58 | } |
| 59 | GLIBC_2.1.1 { |
| 60 | # extern inline functions used by <bits/string2.h> |
| 61 | __mempcpy_small; __stpcpy_small; __strcspn_c1; __strcspn_c2; __strcspn_c3; |
| 62 | __strcpy_small; __strspn_c1; __strspn_c2; __strspn_c3; __strpbrk_c2; |
| 63 | __strpbrk_c3; __strsep_1c; __strsep_2c; __strsep_3c; __strsep_g; |
| 64 | __strtok_r_1c; |
| 65 | |
| 66 | # s* |
| 67 | strchrnul; __strverscmp; |
| 68 | } |
| 69 | GLIBC_2.2 { |
| 70 | # functions used in macros. |
| 71 | __strndup; |
| 72 | |
| 73 | # m* |
| 74 | memrchr; |
| 75 | } |
| 76 | GLIBC_2.3.4 { |
| 77 | # x* |
| 78 | __xpg_strerror_r; |
| 79 | } |
| 80 | GLIBC_2.6 { |
| 81 | strerror_l; |
| 82 | } |
| 83 | } |