163270Smckusick /*- 2*63370Sbostic * Copyright (c) 1993 3*63370Sbostic * The Regents of the University of California. All rights reserved. 463270Smckusick * 563270Smckusick * %sccs.include.redist.c% 663270Smckusick * 7*63370Sbostic * @(#)bcopy.c 8.1 (Berkeley) 06/11/93 863270Smckusick */ 963270Smckusick 1063270Smckusick /* 1163270Smckusick * This is designed to be small, not fast. 1263270Smckusick */ 1363270Smckusick void bcopy(s1,s2,n)1463270Smckusickbcopy(s1, s2, n) 1563270Smckusick const void *s1; 1663270Smckusick void *s2; 1763270Smckusick unsigned n; 1863270Smckusick { 1963270Smckusick register const char *f = s1; 2063270Smckusick register char *t = s2; 2163270Smckusick 2263270Smckusick while (n != 0) { 2363270Smckusick *t++ = *f++; 2463270Smckusick n--; 2563270Smckusick } 2663270Smckusick } 27