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; used 4 times
bcpy
defined in line
33;
never used
bzero
defined in line
34; used 2 times
index
defined in line
7; used 40 times
- in line 11
- in /usr/src/new/mh/conf/mhconfig.c line
457,
571
- in /usr/src/new/mh/config/config.c line
50
- in /usr/src/new/mh/sbr/addrsbr.c line
386(2),
414,
425,
442,
485
- in /usr/src/new/mh/sbr/m_getfld.c line
561-562(2)
- in /usr/src/new/mh/sbr/m_gmsg.c line
159,
314
- in /usr/src/new/mh/uip/aliasbr.c line
455(2)
- in /usr/src/new/mh/uip/dropsbr.c line
466
- in /usr/src/new/mh/uip/install-mh.c line
188
- in /usr/src/new/mh/uip/mhlsbr.c line
452,
764,
1245
- in /usr/src/new/mh/uip/msh.c line
1595
- in /usr/src/new/mh/uip/mshcmds.c line
2365
- in /usr/src/new/mh/uip/popsbr.c line
322
- in /usr/src/new/mh/uip/post.c line
715
- in /usr/src/new/mh/uip/rmail.c line
96,
126-128(2),
134,
441
- in /usr/src/new/mh/uip/rmf.c line
104
- in /usr/src/new/mh/uip/sbboards.c line
543
- in /usr/src/new/mh/uip/send.c line
358
- in /usr/src/new/mh/uip/slocal.c line
262,
397,
1025
- in /usr/src/new/mh/uip/spop.c line
543
- in /usr/src/new/mh/uip/spost.c line
497
- in /usr/src/new/mh/uip/umhook.c line
371
- in /usr/src/new/mh/uip/whatnowsbr.c line
710
rindex
defined in line
8; used 11 times
Usage of this include