home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / news / cnews.tar / include / string.fake < prev    next >
Text File  |  1989-05-26  |  1KB  |  38 lines

  1. /*
  2.  * String functions.
  3.  */
  4.  
  5. char *memcpy(/*char *dst, const char *src, int size*/);
  6. char *memccpy(/*char *dst, const char *src, int ucharstop, int size*/);
  7. char *strcpy(/*char *dst, const char *src*/);
  8. char *strncpy(/*char *dst, const char *src, int size*/);
  9. char *strcat(/*char *dst, const char *src*/);
  10. char *strncat(/*char *dst, const char *src, int size*/);
  11. int memcmp(/*const char *s1, const char *s2, int size*/);
  12. int strcmp(/*const char *s1, const char *s2*/);
  13. int strncmp(/*const char *s1, const char *s2, int size*/);
  14. char *memchr(/*const char *s, int ucharwanted, int size*/);
  15. char *strchr(/*const char *s, int charwanted*/);
  16. int strcspn(/*const char *s, const char *reject*/);
  17. char *strpbrk(/*const char *s, const char *breakat*/);
  18. char *strrchr(/*const char *s, int charwanted*/);
  19. int strspn(/*const char *s, const char *accept*/);
  20. char *strstr(/*const char *s, const char *wanted*/);
  21. char *strtok(/*char *s, const char *delim*/);
  22. char *memset(/*char *s, int ucharfill, int size*/);
  23. int strlen(/*const char *s*/);
  24.  
  25. /*
  26.  * V7 and Berklix compatibility.
  27.  */
  28. char *index(/*const char *s, int charwanted*/);
  29. char *rindex(/*const char *s, int charwanted*/);
  30. int bcopy(/*const char *src, char *dst, int length*/);
  31. int bcmp(/*const char *s1, const char *s2, int length*/);
  32. int bzero(/*char *dst, int length*/);
  33.  
  34. /*
  35.  * Putting this in here is really silly, but who am I to argue with X3J11?
  36.  */
  37. char *strerror(/*int errnum*/);
  38.