home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / emxdev8f.zip / STRING.H < prev    next >
C/C++ Source or Header  |  1992-11-18  |  2KB  |  65 lines

  1. /* string.h (emx+gcc) */
  2.  
  3. #if !defined (_STRING_H)
  4. #define _STRING_H
  5.  
  6. #if defined (__cplusplus)
  7. extern "C" {
  8. #endif
  9.  
  10. #if !defined (_SIZE_T)
  11. #define _SIZE_T
  12. typedef unsigned long size_t;
  13. #endif
  14.  
  15. #if !defined (NULL)
  16. #define NULL ((void *)0)
  17. #endif
  18.  
  19. #if !defined (_MEMDIF_EQ)
  20. #define _MEMDIF_EQ 0xffffffff
  21. #endif
  22.  
  23. void *memccpy (void *s1, __const__ void *s2, int c, size_t n);
  24. void *memchr (__const__ void *s, int c, size_t n);
  25. int memcmp (__const__ void *s1, __const__ void *s2, size_t n);
  26. void *memcpy (void *s1, __const__ void *s2, size_t n);
  27. int memicmp (__const__ void *s1, __const__ void *s2, size_t n);
  28. void *memmove (void *s1, __const__ void *s2, size_t n);
  29. void *memset (void *s, int c, size_t n);
  30.  
  31. char *strcat (char *string1, __const__ char *string2);
  32. char *strchr (__const__ char *string, int c);
  33. int strcmp (__const__ char *string1, __const__ char *string2);
  34. char *strcpy (char *string1, __const__ char *string2);
  35. size_t strcspn (__const__ char *string1, __const__ char *string2);
  36. char *strdup (__const__ char *string);
  37. char *strerror (int errnum);
  38. int stricmp (__const__ char *string1, __const__ char *string2);
  39. size_t strlen (__const__ char *string);
  40. char *strlwr (char *string);
  41. char *strncat (char *string1, __const__ char *string2, size_t count);
  42. int strncmp (__const__ char *string1, __const__ char *string2, size_t count);
  43. char *strncpy (char *string1, __const__ char *string2, size_t count);
  44. int strnicmp (__const__ char *string1, __const__ char *string2, size_t count);
  45. char *strnset (char *string, int c, size_t count);
  46. char *strpbrk (__const__ char *string1, __const__ char *string2);
  47. char *strrchr (__const__ char *string, int c);
  48. char *strrev (char *string);
  49. char *strset (char *string, int c);
  50. size_t strspn (__const__ char *string1, __const__ char *string2);
  51. char *strstr (__const__ char *string1, __const__ char *string2);
  52. char *strtok (char *string1, __const__ char *string2);
  53. char *strupr (char *string);
  54.  
  55. size_t _memcount (__const__ void *mem, int c, size_t n);
  56. size_t _memdif (__const__ void *mem1, __const__ void *m2m, size_t n);
  57. void _memswap (void *s1, void *s2, size_t n);
  58. char *_strncpy (char *string1, __const__ char *string2, size_t size);
  59.  
  60. #if defined (__cplusplus)
  61. }
  62. #endif
  63.  
  64. #endif /* !defined (_STRING_H) */
  65.