home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_10_10 / 1010012a < prev    next >
Text File  |  1992-08-12  |  1KB  |  45 lines

  1.  
  2. Listing 1 -- the file string.h
  3.  
  4. /* string.h standard header */
  5. #ifndef _STRING
  6. #define _STRING
  7. #ifndef _YVALS
  8. #include <yvals.h>
  9. #endif
  10.         /* macros */
  11. #define NULL    _NULL
  12.         /* type definitions */
  13. #ifndef _SIZET
  14. #define _SIZET
  15. typedef _Sizet size_t;
  16. #endif
  17.         /* declarations */
  18. void *memchr(const void *, int, size_t);
  19. int memcmp(const void *, const void *, size_t);
  20. void *memcpy(void *, const void *, size_t);
  21. void *memmove(void *, const void *, size_t);
  22. void *memset(void *, int, size_t);
  23. char *strcat(char *, const char *);
  24. char *strchr(const char *, int);
  25. int strcmp(const char *, const char *);
  26. int strcoll(const char *, const char *);
  27. char *strcpy(char *, const char *);
  28. size_t strcspn(const char *, const char *);
  29. char *strerror(int);
  30. size_t strlen(const char *);
  31. char *strncat(char *, const char *, size_t);
  32. int strncmp(const char *, const char *, size_t);
  33. char *strncpy(char *, const char *, size_t);
  34. char *strpbrk(const char *, const char *);
  35. char *strrchr(const char *, int);
  36. size_t strspn(const char *, const char *);
  37. char *strstr(const char *, const char *);
  38. char *strtok(char *, const char *);
  39. size_t strxfrm(char *, const char *, size_t);
  40. char *_Strerror(int, char *);
  41.         /* macro overrides */
  42. #define strerror(errcode)    _Strerror(errcode, _NULL)
  43. #endif
  44.  
  45.