1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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"