string.h-data 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. macro-constant NULL == 0
  2. type size_t
  3. #if defined XOPEN2K8 || defined POSIX2008
  4. type locale_t
  5. #endif
  6. #if !defined ISO && !defined ISO99 & !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
  7. function {void*} memccpy (void*, const void*, int, size_t)
  8. #endif
  9. function {void*} memchr (const void*, int, size_t)
  10. function int memcmp (const void*, const void*, size_t)
  11. function {void*} memcpy (void*, const void*, size_t)
  12. function {void*} memmove (void*, const void*, size_t)
  13. function {void*} memset (void*, int, size_t)
  14. #if defined XOPEN2K8 || defined POSIX2008
  15. function {char*} stpcpy (char*, const char*)
  16. function {char*} stpncpy (char*, const char*, size_t)
  17. #endif
  18. function {char*} strcat (char*, const char*)
  19. function {char*} strchr (const char*, int)
  20. function int strcmp (const char*, const char*)
  21. function int strcoll (const char*, const char*)
  22. #if defined XOPEN2K8 || defined POSIX2008
  23. function int strcoll_l (const char*, const char*, locale_t)
  24. #endif
  25. function {char*} strcpy (char*, const char*)
  26. function size_t strcspn (const char*, const char*)
  27. #if !defined ISO && !defined ISO99 & !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
  28. function {char*} strdup (const char*)
  29. #endif
  30. function {char*} strerror (int)
  31. #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
  32. function int strerror_r (int, char*, size_t)
  33. #endif
  34. #if defined XOPEN2K8 || defined POSIX2008
  35. function {char*} strerror_l (int, locale_t)
  36. #endif
  37. function size_t strlen (const char*)
  38. function {char*} strncat (char*, const char*, size_t)
  39. function int strncmp (const char*, const char*, size_t)
  40. function {char*} strncpy (char*, const char*, size_t)
  41. #if defined XOPEN2K8 || defined POSIX2008
  42. function {char*} strndup (const char*, size_t)
  43. function size_t strnlen (const char*, size_t)
  44. #endif
  45. function {char*} strpbrk (const char*, const char*)
  46. function {char*} strrchr (const char*, int)
  47. #if defined XOPEN2K8 || defined POSIX2008
  48. function {char*} strsignal (int)
  49. #endif
  50. function size_t strspn (const char*, const char*)
  51. function {char*} strstr (const char*, const char*)
  52. function {char*} strtok (char*, const char*)
  53. #if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
  54. function {char*} strtok_r (char*, const char*, char**)
  55. #endif
  56. function size_t strxfrm (char*, const char*, size_t)
  57. #if defined XOPEN2K8 || defined POSIX2008
  58. function size_t strxfrm_l (char*, const char*, size_t, locale_t)
  59. #endif
  60. #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
  61. allow-header stddef.h
  62. #endif
  63. allow str[abcdefghijklmnopqrstuvwxyz]*
  64. allow mem[abcdefghijklmnopqrstuvwxyz]*
  65. allow wcs[abcdefghijklmnopqrstuvwxyz]*
  66. #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
  67. allow *_t
  68. #endif