11980Swnj /* 235094Sbostic * Copyright (c) 1988 Regents of the University of California. 335094Sbostic * All rights reserved. 435094Sbostic * 542635Sbostic * %sccs.include.redist.c% 61980Swnj */ 71980Swnj 835094Sbostic #if defined(LIBC_SCCS) && !defined(lint) 9*46613Sbostic static char sccsid[] = "@(#)strcat.c 5.6 (Berkeley) 02/24/91"; 1035094Sbostic #endif /* LIBC_SCCS and not lint */ 1135094Sbostic 1242181Sbostic #include <string.h> 1342181Sbostic 141980Swnj char * 1535094Sbostic strcat(s, append) 16*46613Sbostic register char *s; 17*46613Sbostic register const char *append; 181980Swnj { 1935094Sbostic char *save = s; 201980Swnj 2135094Sbostic for (; *s; ++s); 2235094Sbostic while (*s++ = *append++); 2335094Sbostic return(save); 241980Swnj } 25