aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test.c b/test.c
index 6d1063e..388f9f7 100644
--- a/test.c
+++ b/test.c
@@ -69,7 +69,11 @@ void fill(char *p, int c, unsigned long n)
if (n) do t = *p++ = c; while (--n);
}
-main(t) { putc(t); }
+void zero(void *p, unsigned long n) { fill(p,0,n); }
+
+main(t) {
+ putc(t + 1, t + 2);
+}
//