Annotation of 43BSD/lib/libc/gen/strcpy.c, revision 1.1

1.1     ! root        1: #if defined(LIBC_SCCS) && !defined(lint)
        !             2: static char sccsid[] = "@(#)strcpy.c   5.2 (Berkeley) 3/9/86";
        !             3: #endif LIBC_SCCS and not lint
        !             4: 
        !             5: /*
        !             6:  * Copy string s2 to s1.  s1 must be large enough.
        !             7:  * return s1
        !             8:  */
        !             9: 
        !            10: char *
        !            11: strcpy(s1, s2)
        !            12: register char *s1, *s2;
        !            13: {
        !            14:        register char *os1;
        !            15: 
        !            16:        os1 = s1;
        !            17:        while (*s1++ = *s2++)
        !            18:                ;
        !            19:        return(os1);
        !            20: }

unix.superglobalmegacorp.com

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