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/umddvi/misc/bzero.c |
Initial commit
Diffstat (limited to 'dviware/umddvi/misc/bzero.c')
-rw-r--r-- | dviware/umddvi/misc/bzero.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dviware/umddvi/misc/bzero.c b/dviware/umddvi/misc/bzero.c new file mode 100644 index 0000000000..c46eeb4305 --- /dev/null +++ b/dviware/umddvi/misc/bzero.c @@ -0,0 +1,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; +} |