|
|
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: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.