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
bcopy
defined in line
32;
never used
bcpy
defined in line
33;
never used
bzero
defined in line
34;
never used
index
defined in line
7; used 8 times
rindex
defined in line
8; used 6 times
Usage of this include