diff options
| author | Nakidai <nakidai@disroot.org> | 2024-09-27 19:17:40 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2024-09-27 19:17:40 +0300 |
| commit | 34fc96bd1451d6f8dfa1add742dab6e5269ec411 (patch) | |
| tree | 26d55a701c84ca2f97eacb49b5ff3829e60e14be /utils/convert.c | |
| parent | b3e4889f3d1bbf3a860e36e021e8d46d75446522 (diff) | |
| download | cptc-34fc96bd1451d6f8dfa1add742dab6e5269ec411.tar.gz cptc-34fc96bd1451d6f8dfa1add742dab6e5269ec411.zip | |
Autogenerate root on build
Diffstat (limited to 'utils/convert.c')
| -rw-r--r-- | utils/convert.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/convert.c b/utils/convert.c new file mode 100644 index 0000000..2fc711e --- /dev/null +++ b/utils/convert.c @@ -0,0 +1,9 @@ +#include <stdio.h> + + +int main(void) +{ + int c; + while ((c = getchar()) >= 0) + printf("\\x%X", c); +} |