File: bzero.c

package info (click to toggle)
seetex 2.19-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,460 kB
  • ctags: 2,909
  • sloc: ansic: 20,942; makefile: 807; sh: 217; lisp: 65; asm: 54; cpp: 17
file content (17 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef lint
static char rcsid[] = "$Header: /usr/src/local/tex/local/mctex/lib/RCS/bzero.c,v 3.1 89/08/22 21:42:12 chris Exp $";
#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;
}