. use library function to parse memory string
[minix3.git] / lib / ansi / strcpy.c
blob914ceaf6d811a0fa3c03088f145920fb3f906c0b
1 /*
2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
4 */
5 /* $Header$ */
7 #include <string.h>
9 char *
10 strcpy(char *ret, register const char *s2)
12 register char *s1 = ret;
14 while (*s1++ = *s2++)
15 /* EMPTY */ ;
17 return ret;