home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / pdksh-4.9-src.tgz / tar.out / contrib / pdksh / std / h / string.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  1KB  |  34 lines

  1. /* ANSI string handling (missing wide char stuff) */
  2. /* $Id: string.h,v 1.3 93/05/05 21:18:42 sjg Exp $ */
  3.  
  4. #if ! _STRING_H
  5. #define _STRING_H 1
  6.  
  7. #include <stddef.h>        /* define NULL and size_t */
  8.  
  9. #ifndef __GNUC__
  10. void   *memcpy ARGS((void *s1, const void *s2, size_t));
  11. int    memcmp ARGS((const void *s1, const void *s2, size_t));
  12. size_t    strlen ARGS((const char *s));
  13. #endif
  14. void   *memmove ARGS((void *s1, const void *s2, size_t));
  15. void   *memchr ARGS((const void *s, int c, size_t));
  16. void   *memset ARGS((void *s, int c, size_t));
  17. char   *strcpy ARGS((char *s1, const char *s2));
  18. char   *strncpy ARGS((char *s1, const char *s2, size_t));
  19. char   *strcat ARGS((char *s1, const char *s2));
  20. char   *strncat ARGS((char *s1, const char *s2, size_t));
  21. int    strcmp ARGS((const char *s1, const char *s2));
  22. int    strncmp ARGS((const char *s1, const char *s2, size_t));
  23. char   *strchr ARGS((const char *s1, int c));
  24. char   *strrchr ARGS((const char *s1, int c));
  25. size_t    strspn ARGS((const char *s1, const char *s2));
  26. size_t    strcspn ARGS((const char *s1, const char *s2));
  27. char   *strpbrk ARGS((const char *s1, const char *s2));
  28. char   *strstr ARGS((const char *s1, const char *s2));
  29. char   *strtok ARGS((char *s1, const char *s2));
  30. char   *strerror ARGS((int errno));
  31.  
  32. #endif /* _STRING_H */
  33.  
  34.