1: /* strings.h - define standard string functions */
   2: 
   3: #ifndef _STRINGS        /* once-only... */
   4: #define _STRINGS
   5: 
   6: #ifdef  SYS5
   7: #define index   strchr
   8: #define rindex  strrchr
   9: #endif	SYS5
  10: 
  11: char   *index ();
  12: char   *mktemp ();
  13: char   *rindex ();
  14: #ifndef SYS5
  15: char   *sprintf ();
  16: #else   SYS5
  17: int     sprintf ();
  18: #endif	SYS5
  19: char   *strcat ();
  20: int     strcmp ();
  21: char   *strcpy ();
  22: int strlen ();
  23: char   *strncat ();
  24: int     strncmp ();
  25: char   *strncpy ();
  26: 
  27: char   *getenv ();
  28: char   *calloc (), *malloc (), *realloc ();
  29: 
  30: #ifdef  SYS5
  31: #include <memory.h>
  32: #define bcopy(b1,b2,length) (void) memcpy (b2, b1, length)
  33: #define bcpy(b1,b2,length)  memcmp (b1, b2, length)
  34: #define bzero(b,length)     (void) memset (b, 0, length)
  35: #endif	SYS5
  36: 
  37: #endif	not _STRINGS

Defined macros

_STRINGS defined in line 4; used 1 times
  • in line 3
bcopy defined in line 32; never used
bcpy defined in line 33; never used
bzero defined in line 34; never used

Usage of this include

Last modified: 1986-04-21
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1048
Valid CSS Valid XHTML 1.0 Strict