diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /dviware/dvibook/libtex/bzero.c |
Initial commit
Diffstat (limited to 'dviware/dvibook/libtex/bzero.c')
-rw-r--r-- | dviware/dvibook/libtex/bzero.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dviware/dvibook/libtex/bzero.c b/dviware/dvibook/libtex/bzero.c new file mode 100644 index 0000000000..cf1dd41645 --- /dev/null +++ b/dviware/dvibook/libtex/bzero.c @@ -0,0 +1,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; +} |