Logo Search packages:      
Sourcecode: ucspi-tcp version File versions  Download package

byte_zero.c

#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;
  }
}

Generated by  Doxygen 1.6.0   Back to index