18316Sroot /* 235097Sbostic * Copyright (c) 1988 Regents of the University of California. 335097Sbostic * All rights reserved. 435097Sbostic * 5*42635Sbostic * %sccs.include.redist.c% 68316Sroot */ 78316Sroot 835097Sbostic #if defined(LIBC_SCCS) && !defined(lint) 9*42635Sbostic static char sccsid[] = "@(#)strcpy.c 5.6 (Berkeley) 06/01/90"; 1035097Sbostic #endif /* LIBC_SCCS and not lint */ 1135097Sbostic 1242181Sbostic #include <string.h> 1342181Sbostic 148316Sroot char * 1535097Sbostic strcpy(to, from) 1635097Sbostic register char *to, *from; 178316Sroot { 1835097Sbostic char *save = to; 198316Sroot 2040557Sbostic for (; *to = *from; ++from, ++to); 2135097Sbostic return(save); 228316Sroot } 23