Files
Arquivotheca.SunOS-4.1.4/sys/boot/lib/common/copy.c
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

23 lines
360 B
C

/*
* @(#)copy.c 1.1 94/10/31 Copyr 1985 Sun Micro
* Byte zero and copy routines
*/
bzero(p, n)
register char *p;
register int n;
{
register char zeero = 0;
while (n > 0)
*p++ = zeero, n--; /* Avoid clr for 68000, still... */
}
bcopy(src, dest, count)
register char *src, *dest;
register int count;
{
while (--count != -1)
*dest++ = *src++;
}