4.1cBSD/usr/src/usr.lib/sendmail/src/bmove.c

Compare this file to the similar file:
Show the results in this format:

# include "useful.h"

SCCSID(@(#)bmove.c	3.4		5/31/82);

/*
**  BMOVE -- block move.
**
**	Parameters:
**		s -- source of bytes.
**		d -- destination of bytes.
**		l -- length of block to move.
**
**	Returns:
**		none.
**
**	Side Effects:
**		copies 's' to 'd' for 'l' bytes.
**
**	Notes:
**		This can be easily written in assembly language on
**		machines like VAXes if performance is needed.
*/

/*VARARGS0*/
bmove(s, d, l)
	register char *s, *d;
	register int l;
{
	while (l-- > 0)
		*d++ = *s++;
}