diff options
author | Malfurious <m@lfurio.us> | 2020-12-21 00:57:45 -0500 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2020-12-21 00:57:45 -0500 |
commit | 75c74abf9249f6aee6dc22c4dbc345c4840181aa (patch) | |
tree | d85c28e6b1cc5335218571914ef5e1807cf58737 /hexbin.c | |
parent | 0c452f6508a2e14b22aa3abc93497ee6078a49f8 (diff) | |
download | lib-des-gnux-75c74abf9249f6aee6dc22c4dbc345c4840181aa.tar.gz lib-des-gnux-75c74abf9249f6aee6dc22c4dbc345c4840181aa.zip |
Create tools directory
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'hexbin.c')
-rw-r--r-- | hexbin.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/hexbin.c b/hexbin.c deleted file mode 100644 index 9356fff..0000000 --- a/hexbin.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * hexbin.c - * - * This program takes no arguments, it simply interprets its input as hex - * and outputs bytes. - */ - -#include <stdio.h> -#include <stdint.h> - -int main() -{ - uint8_t b; - - while (1) - { - scanf("%hhx", &b); - if (feof(stdin)) - break; - fwrite(&b, 1, 1, stdout); - } - - return 0; -} |