summaryrefslogtreecommitdiff
path: root/dviware/umddvi/misc/bzero.c
blob: c46eeb4305fd79780c6e087c6f7f0bb2dce93a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef lint
static char rcsid[] = "$Header$";
#endif

/*
 * Sample bzero() routine.
 * This should be rewritten to be as fast as possible for your
 * machine.
 */
bzero(addr, count)
	register char *addr;
	register int count;
{

	while (--count >= 0)
		*addr++ = 0;
}