date and time created 91/03/06 18:09:53 by bostic
[unix-history] / usr / src / lib / libc / string / strcat.c
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
*
* %sccs.include.redist.c%
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)strcat.c 5.6 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <string.h>
char *
strcat(s, append)
register char *s;
register const char *append;
{
char *save = s;
for (; *s; ++s);
while (*s++ = *append++);
return(save);
}