|
|
BSD 4.3reno
/* strings.h - define standard string functions */ #ifndef _STRINGS /* once-only... */ #define _STRINGS #ifdef SYS5 #define index strchr #define rindex strrchr #endif SYS5 char *index (); char *mktemp (); char *rindex (); #ifdef BSD44 int sprintf (); #else char *sprintf (); #endif char *strcat (); int strcmp (); char *strcpy (); unsigned strlen (); char *strncat (); int strncmp (); char *strncpy (); char *getenv (); char *calloc (), *malloc (), *realloc (); #ifdef SYS5 #include <memory.h> #define bcopy(b1,b2,length) (void) memcpy (b2, b1, length) #define bcpy(b1,b2,length) memcmp (b1, b2, length) #define bzero(b,length) (void) memset (b, 0, length) #endif SYS5 #endif not _STRINGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.