home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
s
/
snip1292.zip
/
SSTRCPY.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-01-05
|
220b
|
14 lines
#include <string.h>
char *sstrcpy(char *to, char *from)
{
memmove(to, from, 1+strlen(from));
return to;
}
char *sstrcat(char *to, char *from)
{
sstrcpy(to + strlen(to), from);
return to;
}