aboutsummaryrefslogtreecommitdiff
path: root/bin/dd/gen.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-03-05 19:30:13 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-03-05 19:30:13 +0000
commit3d36fd4271d98afee379c5c2fb138bcf04cf6ebb (patch)
tree34855761f9af2dd7f63813acf1f8656091d2417c /bin/dd/gen.c
parent8cbec0c8ddfdfa0120d492b834f733f8598c9803 (diff)
downloadsrc-3d36fd4271d98afee379c5c2fb138bcf04cf6ebb.tar.gz
src-3d36fd4271d98afee379c5c2fb138bcf04cf6ebb.zip
Add a test-target and reference vectors for the character converions.
Notes
Notes: svn path=/head/; revision=126666
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);
+}