Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 309 Bytes
/* Public domain, from djbdns-1.05. */
/* As per http://cr.yp.to/djbdns/res-disaster.html */
#include "byte.h"
void byte_zero(char *s,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;
}
}
Jump to Line
Something went wrong with that request. Please try again.