diff options
author | phk <phk@FreeBSD.org> | 2004-03-05 19:30:13 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-03-05 19:30:13 +0000 |
commit | 99a4684d724673ae90d63adc80a14fa2b42d2bb5 (patch) | |
tree | 34855761f9af2dd7f63813acf1f8656091d2417c /bin/dd/gen.c | |
parent | 702f89fc5dbe8535fbcdb4944f08a5135c5fa9a6 (diff) | |
download | FreeBSD-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.c | 17 |
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); +} |