summaryrefslogtreecommitdiff
path: root/byte_zero.c
blob: 92009bae68e8fd418d9689026e4e649ab7cec7da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "byte.h"

void byte_zero(s,n)
char *s;
register unsigned int n;
{
  for (;;) {
    if (!n) break; *s++ = 0; --n;
    if (!n) break; *s++ = 0; --n;
    if (!n) break; *s++ = 0; --n;
    if (!n) break; *s++ = 0; --n;
  }
}