home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
unix
/
volume12
/
cnews
/
part01
/
libc
/
strings
/
strcat.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1987-10-19
|
301 b
|
19 lines
/*
* strcat - append string src to dst
*/
char * /* dst */
strcat(dst, src)
char *dst;
CONST char *src;
{
register char *dscan;
register CONST char *sscan;
for (dscan = dst; *dscan != '\0'; dscan++)
continue;
sscan = src;
while ((*dscan++ = *sscan++) != '\0')
continue;
return(dst);
}