Annotation of researchv9/libc/gen/strcat.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * Concatenate s2 on the end of s1.  S1's space must be large enough.
        !             3:  * Return s1.
        !             4:  */
        !             5: 
        !             6: char *
        !             7: strcat(s1, s2)
        !             8: register char *s1, *s2;
        !             9: {
        !            10:        register char *os1;
        !            11: 
        !            12:        os1 = s1;
        !            13:        while (*s1++)
        !            14:                ;
        !            15:        --s1;
        !            16:        while (*s1++ = *s2++)
        !            17:                ;
        !            18:        return(os1);
        !            19: }

unix.superglobalmegacorp.com

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