minix/lib/ack/libm2/blockmove.c

23 lines
429 B
C
Executable file

/*
(c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/*
Module: block moves
Author: Ceriel J.H. Jacobs
Version: $Header$
*/
#if _EM_WSIZE==_EM_PSIZE
typedef unsigned pcnt;
#else
typedef unsigned long pcnt;
#endif
blockmove(siz, dst, src)
pcnt siz;
register char *dst, *src;
{
while (siz--) *dst++ = *src++;
}