This commit is contained in:
Oliver Lehmann 1989-04-21 13:09:43 +00:00
parent 5894c5ada6
commit a41def49af
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
/*
** BMOVE -- block move
**
** Moves a block of storage of length 'n' bytes from the
** data area pointed to by 'p' to the area pointed to by 'q'.
** Returns the address of the byte following the 'q' field.
** Overflow of 'q' is not tested.
*/
char *AAbmove(p, q, n)
register char *p;
register char *q;
register int n;
{
while (n--)
*q++ = *p++;
return (q);
}