home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c329 / 2.img / INCL_A / STRING.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-20  |  1.5 KB  |  42 lines

  1. /*  string.h
  2.  *  ANSI C Runtime Library
  3.  */
  4.  
  5. #ifndef _STDDEF_H
  6. #  include <stddef.h>
  7. #endif  /* _STDDEF_H */
  8. #ifndef _STRING_H
  9. #define _STRING_H
  10. void    *memcpy  (void *s1, const void *s2, size_t n);
  11. void    *memccpy (void *s1, void *s2, int c, size_t n);
  12. void    *memmove (void *s1, const void *s2, size_t n);    /* same as above, */
  13.                                                      /* but handles overlap */
  14. char    *strcpy  (char *s1, const char *s2);
  15. char    *strncpy (char *s1, const char *s2, size_t n);
  16.  
  17. char    *strcat  (char *s1, const char *s2);
  18. char    *strncat (char *s1, const char *s2, size_t n);
  19.  
  20. int    memcmp  (const void *s1, const void *s2, size_t n);
  21. int    memicmp (void *s1, void *s2, size_t n);
  22. int    strcmp  (const char *s1, const char *s2);
  23. int    strncmp (const char *s1, const char *s2, size_t n);
  24. int    strcoll (const char *s1, const char *s2);
  25. size_t    strxfrm (char *s1, const char *s2, size_t n);
  26.  
  27. void    *memchr  (const void *s, int c, size_t n);
  28. char    *strchr  (const char *s, int c);
  29. size_t    strcspn  (const char *s1, const char *s2);
  30. char    *strpbrk (const char *s1, const char *s2);
  31. char    *strrchr (const char *s, int c);
  32. char    *rindex  (const char *s, int c);
  33. size_t    strspn   (const char *s1, const char *s2);
  34. char    *strstr  (const char *s1, const char *s2);
  35. char    *strsave (char *s);
  36. char    *strtok  (char *s1, const char *s2);
  37.  
  38. void    *memset   (void *s, int c, size_t n);
  39. char    *strerror (int errnum);
  40. size_t    strlen    (const char *s);
  41. #endif      /* _STRING_H */
  42.