10 lines
143 B
C
10 lines
143 B
C
|
|
||
|
#include <string.h>
|
||
|
|
||
|
char * strcpy (char * d, const char * from) {
|
||
|
register char * to = d;
|
||
|
while (*to++ = *from++);
|
||
|
return d;
|
||
|
}
|
||
|
|