Annotation of coherent/b/lib/libc/string/strcat.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * strcat.c
                      3:  * ANSI 4.11.3.1.
                      4:  * Concatenate strings.
                      5:  */
                      6: 
                      7: #include <string.h>
                      8: 
                      9: char *strcat(s1, s2) char *s1; register char *s2;
                     10: {
                     11:        register char *cp;
                     12: 
                     13:        for (cp = s1; *cp++; )
                     14:                ;
                     15:        for (cp--; *cp++ = *s2++; )
                     16:                ;
                     17:        return (s1);
                     18: }

unix.superglobalmegacorp.com

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