home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
zip
/
mint
/
mntlib16.lzh
/
MNTLIB16
/
STRCAT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-03
|
460b
|
27 lines
/* from Henry Spencer's stringlib */
/* check for src==NULL added by ERS */
#include <string.h>
#undef strcat
/*
* strcat - append string src to dst
*/
char * /* dst */
strcat(dst, src)
char *dst;
const char *src;
{
register char *dscan;
register const char *sscan;
if ((sscan = src))
{
for (dscan = dst; *dscan != '\0'; dscan++)
continue;
while ((*dscan++ = *sscan++) != '\0')
continue;
}
return(dst);
}