home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / PC_V11_A.LZH / INCLUDE / STRING.H < prev    next >
Text File  |  1992-10-14  |  2KB  |  63 lines

  1. /*      STRING.H
  2.  
  3.         String Definitions
  4.  
  5.         Copyright (C) Borland International 1990
  6.         All Rights Reserved.
  7. */
  8.  
  9.  
  10. #if !defined( __STRING )
  11. #define __STRING
  12.  
  13.  
  14. typedef unsigned long    size_t;
  15.  
  16.  
  17. char    *strcat( char *s1, const char *s2 );
  18. char    *strncat( char *s1, const char *s2, size_t n );
  19. int     strcmp( const char *s1, const char *s2 );
  20. int     stricmp( const char *s1, const char *s2 );
  21. int     strcmpi( const char *s1, const char *s2 );
  22. int     strncmp( const char *s1, const char *s2, size_t n );
  23. int     strnicmp( const char *s1, const char *s2, size_t n );
  24. int     strncmpi( const char *s1, const char *s2, size_t n );
  25. char    *strcpy( char *s1, const char *s2 );
  26. char    *strncpy( char *s1, const char *s2, size_t n );
  27. char    *strdup( const char *s );
  28.  
  29. size_t  strlen( const char *s );
  30.  
  31. char    *strchr( const char *s, int c );
  32. char    *strrchr( const char *s, int c );
  33.  
  34. size_t  strspn( const char *s, const char *set );
  35. size_t  strcspn( const char *s, const char *set );
  36. char    *strpbrk( const char *s, const char *set );
  37.  
  38. char    *strstr( const char *src, const char *sub );
  39. char    *strtok( char *str, const char *set );
  40.  
  41. char    *strupr( char *s );
  42. char    *strlwr( char *s );
  43. char    *strrev( char *s );
  44. char    *strset( char *s, int c );
  45. char    *strnset( char *s, int c, size_t n );
  46.  
  47. double  strtod( const char *s, char **endptr );
  48. long    strtol( const char *str, char **ptr, int base );
  49. unsigned long   strtoul( const char *str, char **ptr, int base );
  50.  
  51. char    *strerror( int errnum );
  52.  
  53. void    *memchr( const void *ptr, int val, size_t len );
  54. int     memcmp( const void *ptr1, const void *ptr2, size_t len );
  55. void    *memcpy( void *dest, const void *src, size_t len );
  56. void    *memmove( void *dest, const void *src, size_t len );
  57. void    *memset( void *ptr, int val, size_t len );
  58.  
  59.  
  60. #endif
  61.  
  62. /************************************************************************/
  63.