2011-03-30 13:47:56 +00:00
|
|
|
#ifndef _INTTYPES_H_
|
|
|
|
#define _INTTYPES_H_ 1
|
|
|
|
|
2015-07-13 00:36:48 +00:00
|
|
|
#include <stdint.h>
|
2011-03-30 13:47:56 +00:00
|
|
|
|
2015-07-13 00:36:48 +00:00
|
|
|
#define PRId8 "d"
|
|
|
|
#define PRId16 "d"
|
|
|
|
#define PRId32 "d"
|
|
|
|
#define PRId64 "lld"
|
2011-03-30 13:47:56 +00:00
|
|
|
|
2015-07-13 00:36:48 +00:00
|
|
|
#define PRIo8 "o"
|
|
|
|
#define PRIo16 "o"
|
|
|
|
#define PRIo32 "o"
|
|
|
|
#define PRIo64 "llo"
|
|
|
|
|
|
|
|
#define PRIx8 "x"
|
|
|
|
#define PRIx16 "x"
|
|
|
|
#define PRIx32 "x"
|
|
|
|
#define PRIx64 "llx"
|
|
|
|
|
|
|
|
#define PRIu8 "u"
|
|
|
|
#define PRIu16 "u"
|
|
|
|
#define PRIu32 "u"
|
|
|
|
#define PRIu64 "llu"
|
2011-03-30 13:47:56 +00:00
|
|
|
|
2020-05-12 17:48:33 +00:00
|
|
|
extern intmax_t strtoimax(const char *, char **, int);
|
|
|
|
|
2011-03-30 13:47:56 +00:00
|
|
|
#endif
|