summaryrefslogtreecommitdiffstats
path: root/bin/dd/gen.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-03-05 19:30:13 +0000
committerphk <phk@FreeBSD.org>2004-03-05 19:30:13 +0000
commit99a4684d724673ae90d63adc80a14fa2b42d2bb5 (patch)
tree34855761f9af2dd7f63813acf1f8656091d2417c /bin/dd/gen.c
parent702f89fc5dbe8535fbcdb4944f08a5135c5fa9a6 (diff)
downloadFreeBSD-src-99a4684d724673ae90d63adc80a14fa2b42d2bb5.zip
FreeBSD-src-99a4684d724673ae90d63adc80a14fa2b42d2bb5.tar.gz
Add a test-target and reference vectors for the character converions.
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 0000000..1eb76dc
--- /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);
+}
OpenPOWER on IntegriCloud