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

  1. #ifndef __STRING_H
  2. #define __STRING_H
  3.  
  4. #ifndef _SIZE_T
  5. #define _SIZE_T
  6. typedef unsigned long size_t;
  7. #endif
  8.  
  9. #ifndef NULL
  10. #define NULL ((void *)0)
  11. #endif
  12.  
  13. void *memcpy(void *_dst, const void *_src, size_t _n);
  14. void *memmove(void *_dst,const void *_src, size_t _n);
  15. char *strcpy(char *_dst, const char *_src);
  16. char *strncpy(char *_dst, const char *_src, size_t _n);
  17. char *strcat(char *_dst, const char *_src);
  18. char *strncat(char *_dst, const char *_src, size_t _n);
  19.  
  20. void *memchr(const void *_s, int _c, size_t _n);
  21. void *memset(void *_s, int _c, size_t _n);
  22. int memcmp(const void *_s1, const void *_s2, size_t _n);
  23. int strcmp(const char *_s1, const char *_s2);
  24. int strncmp(const char *_s1, const char *_s2, size_t _n);
  25. char *strpbrk(const char *_s1, const char *_s2);
  26. char *strchr(const char *_s, int _c);
  27. char *strrchr(const char *_s, int _c);
  28. char *strstr(const char *_s1, const char *_s2);
  29. char *strtok(char *_s1, const char *_s2);
  30. char *strerror(int _errnum);
  31. size_t strcspn(const char *_s1, const char *_s2);
  32. size_t strlen(const char *_s);
  33. size_t strspn(const char *_s1, const char *_s2);
  34. int strcoll(const char *_s1, const char *_s2);
  35. size_t strxfrm(char *_s1, const char *_s2, size_t _n);
  36.  
  37. //#if !__STDC__ /* non ANSI C functions */
  38.  
  39. char *index(char *_s, int _c);
  40. void *memccpy(void *_dst, const void *_src, int _c, size_t _n);
  41. void movmem(const void *src, void *dst, size_t n);
  42. char *rindex(char *_s, int _c);
  43. void swapmem(void *_s1, void *_s2, size_t _n);
  44. void setmem(void *s, size_t n, int c);
  45. char *strdup(char *_s);
  46. int stricmp(const char *_s1, const char *_s2);
  47. int strnicmp(const char *_s1, const char *_s2, size_t _n);
  48. char *strlwr (char *_s1);
  49. char *strupr (char *_s2);
  50.  
  51. //#endif /* !__STDC__ */
  52.  
  53. #endif /* _STRING_H */
  54.