Annotation of coherent/a/usr/src/misc/newcpy.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * Create a new copy of a string.
        !             3:  */
        !             4: #include "misc.h"
        !             5: extern char *strcpy();
        !             6: 
        !             7: char *
        !             8: newcpy(s)
        !             9: register char *s;
        !            10: {
        !            11: 
        !            12:     return (strcpy(alloc(strlen(s) + 1), s));
        !            13: }

unix.superglobalmegacorp.com

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