diff options
author | fadhil riyanto <me@fadev.org> | 2024-10-09 11:14:05 +0700 |
---|---|---|
committer | fadhil riyanto <me@fadev.org> | 2024-10-09 11:14:05 +0700 |
commit | d87a475995f8cd6012ea5d3f9603224bdea686f6 (patch) | |
tree | 274ba5393f0235cc87249d0fe24aa95c15da8eae /test | |
parent | 32b8db440d515344b630d59dc436e1a00fb8a19d (diff) |
test hex printipv6
Signed-off-by: fadhil riyanto <me@fadev.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/ipv6.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/ipv6.c b/test/ipv6.c new file mode 100644 index 0000000..93c8f86 --- /dev/null +++ b/test/ipv6.c @@ -0,0 +1,10 @@ +#include <stdint.h> +#include <sys/types.h> +#include <stdio.h> + +int main() +{ + u_int8_t a = 27; + + printf("%02X\n", a); +}
\ No newline at end of file |