|
|
1.1 root 1: /*
2: * Coherent Standard I/O Library
3: * Copy one string to another.
4: */
5:
6: #include <stdio.h>
7:
8: char *
9: strcpy(as1, s2)
10: char *as1;
11: register char *s2;
12: {
13: register char *s1;
14:
15: s1 = as1;
16: while (*s1++ = *s2++)
17: ;
18: return (as1);
19: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.