home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / IncPOS.lzx / string.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-18  |  1.7 KB  |  57 lines

  1. #ifndef __STRING_H
  2. #define __STRING_H
  3.  
  4. #ifndef __INC_POS_PEXEC_TYPES_H
  5. #include <pExec/Types.h>
  6. #endif
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11.  
  12. void *memcpy(void *_dst, const void *_src, size_t _n);
  13. void *memmove(void *_dst,const void *_src, size_t _n);
  14. char *strcpy(char *_dst, const char *_src);
  15. char *strncpy(char *_dst, const char *_src, size_t _n);
  16. char *strcat(char *_dst, const char *_src);
  17. char *strncat(char *_dst, const char *_src, size_t _n);
  18.  
  19. void *memchr(const void *_s, int _c, size_t _n);
  20. void *memset(void *_s, int _c, size_t _n);
  21. int memcmp(const void *_s1, const 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. char *strpbrk(const char *_s1, const char *_s2);
  25. char *strchr(const char *_s, int _c);
  26. char *strrchr(const char *_s, int _c);
  27. char *strstr(const char *_s1, const char *_s2);
  28. char *strtok(char *_s1, const char *_s2);
  29. char *strerror(int _errnum);
  30. size_t strcspn(const char *_s1, const char *_s2);
  31. size_t strlen(const char *_s);
  32. size_t strspn(const char *_s1, const char *_s2);
  33. int strcoll(const char *_s1, const char *_s2);
  34. size_t strxfrm(char *_s1, const char *_s2, size_t _n);
  35.  
  36. #if !__STDC__ /* non ANSI C functions */
  37.  
  38. char *index(char *_s, int _c);
  39. void *memccpy(void *_dst, const void *_src, int _c, size_t _n);
  40. void movmem(const void *src, void *dst, size_t n);
  41. char *rindex(char *_s, int _c);
  42. void swapmem(void *_s1, void *_s2, size_t _n);
  43. void setmem(void *s, size_t n, int c);
  44. char *strdup(char *_s);
  45. int stricmp(const char *_s1, const char *_s2);
  46. int strnicmp(const char *_s1, const char *_s2, size_t _n);
  47. char *strlwr (char *_s1);
  48. char *strupr (char *_s2);
  49.  
  50. #endif /* !__STDC__ */
  51.  
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55.  
  56. #endif /* _STRING_H */
  57.