at_wini also needs a pci_reserve() for the pci compatability device, if
[minix3.git] / lib / ansi / memcpy.c
blob6082fa4c14d708ea1e1f0725b3a3b724e9b7f783
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 void *
10 memcpy(void *s1, const void *s2, register size_t n)
12 register char *p1 = s1;
13 register const char *p2 = s2;
16 if (n) {
17 n++;
18 while (--n > 0) {
19 *p1++ = *p2++;
22 return s1;