/* * 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[] = "@(#)strcpy.c 5.6 (Berkeley) 06/01/90"; #endif /* LIBC_SCCS and not lint */ #include char * strcpy(to, from) register char *to, *from; { char *save = to; for (; *to = *from; ++from, ++to); return(save); }