home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / TURBOC_1.LZH / INCLUDE / STRING.H < prev    next >
Text File  |  1990-03-02  |  2KB  |  66 lines

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