Annotation of 43BSD/contrib/mh/h/strings.h, revision 1.1

1.1     ! root        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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.