aboutsummaryrefslogtreecommitdiff
path: root/bin/dd/gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dd/gen.c')
-rw-r--r--bin/dd/gen.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/dd/gen.c b/bin/dd/gen.c
new file mode 100644
index 000000000000..1eb76dc5b625
--- /dev/null
+++ b/bin/dd/gen.c
@@ -0,0 +1,17 @@
+/*
+ * This program is in the public domain
+ *
+ * $FreeBSD$
+ */
+
+#include <stdio.h>
+
+int
+main(int argc __unused, char **argv __unused)
+{
+ int i;
+
+ for (i = 0; i < 256; i++)
+ putchar(i);
+ return (0);
+}