summaryrefslogtreecommitdiffstats
path: root/byte_zero.c
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
committermanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
commit69aec538b456402170dc723af417ba5c05389c32 (patch)
treee6f34c543f17c6392447ea337b2e2868212424d1 /byte_zero.c
downloadqmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz
qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2
qmail-69aec538b456402170dc723af417ba5c05389c32.zip
qmail 1.03 import
Diffstat (limited to 'byte_zero.c')
-rw-r--r--byte_zero.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/byte_zero.c b/byte_zero.c
new file mode 100644
index 0000000..92009ba
--- /dev/null
+++ b/byte_zero.c
@@ -0,0 +1,13 @@
1#include "byte.h"
2
3void byte_zero(s,n)
4char *s;
5register unsigned int n;
6{
7 for (;;) {
8 if (!n) break; *s++ = 0; --n;
9 if (!n) break; *s++ = 0; --n;
10 if (!n) break; *s++ = 0; --n;
11 if (!n) break; *s++ = 0; --n;
12 }
13}