1/* 2 * Copyright (c) 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Computer Consoles Inc. 9 */ 10 11#if defined(LIBC_SCCS) && !defined(lint) 12 .asciz "@(#)strcpy.s 8.1 (Berkeley) 06/04/93" 13#endif /* LIBC_SCCS and not lint */ 14 15/* 16 * Copy string s2 to s1. s1 must be large enough. 17 * return s1 18 */ 19#include "DEFS.h" 20 21ENTRY(strcpy, 0) 22 movl 4(fp),r1 23 movl r1,r2 24 movl 8(fp),r0 25 movs2 26 movl r2,r0 27 ret 28