home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 September / PCWK996.iso / demo / wgelectr / pk51demo / files.2 / INC / STRING.H < prev   
C/C++ Source or Header  |  1992-12-11  |  1KB  |  43 lines

  1. /* STRING.H: string functions                        */
  2. /* Copyright KEIL ELEKTRONIK GmbH 1988 - 1992  V3.40 */
  3.  
  4. #ifndef _SIZE_T
  5.  #define _SIZE_T
  6.  typedef unsigned int size_t;
  7. #endif
  8.  
  9. #ifndef NULL
  10.  #define NULL ((void *) 0L)
  11. #endif
  12.  
  13. #pragma SAVE
  14. #pragma REGPARMS
  15. extern char *strcat (char *s1, char *s2);
  16. extern char *strncat (char *s1, char *s2, int n);
  17.  
  18. extern char strcmp (char *s1, char *s2);
  19. extern char strncmp (char *s1, char *s2, int n);
  20.  
  21. extern char *strcpy (char *s1, char *s2);
  22. extern char *strncpy (char *s1, char *s2, int n);
  23.  
  24. extern int strlen (char *);
  25.  
  26. extern char *strchr (const char *s, char c);
  27. extern int strpos (const char *s, char c);
  28. extern char *strrchr (const char *s, char c);
  29. extern int strrpos (const char *s, char c);
  30.  
  31. extern int strspn (char *s, char *set);
  32. extern int strcspn (char *s, char *set);
  33. extern char *strpbrk (char *s, char *set);
  34. extern char *strrpbrk (char *s, char *set);
  35.  
  36. extern char memcmp (void *s1, void *s2, int n);
  37. extern void *memcpy (void *s1, void *s2, int n);
  38. extern void *memchr (void *s, char val, int n);
  39. extern void *memccpy (void *s1, void *s2, char val, int n);
  40. extern void *memmove (void *s1, void *s2, int n);
  41. extern void *memset  (void *s, char val, int n);
  42. #pragma RESTORE
  43.