diff options
Diffstat (limited to 'src/libc/include/inttypes.h')
-rw-r--r-- | src/libc/include/inttypes.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libc/include/inttypes.h b/src/libc/include/inttypes.h index 9a6118b..d44129a 100644 --- a/src/libc/include/inttypes.h +++ b/src/libc/include/inttypes.h @@ -1 +1,19 @@ #include <stdint.h> + +#define PRId64 "ld" +#define PRIo64 "lo" +#define PRIu64 "lu" +#define PRIx64 "lx" +#define SCNu64 "lu" + +#define PRId32 "d" +#define PRIo32 "o" +#define PRIu32 "u" +#define PRIx32 "x" +#define SCNu32 "u" + +#define PRId16 "d" +#define PRIo16 "o" +#define PRIu16 "u" +#define PRIx16 "x" +#define SCNu16 "u" |