PKUOS - Pintos
Pintos source browser for PKU Operating System course
inttypes.h
Go to the documentation of this file.
1#ifndef __LIB_INTTYPES_H
2#define __LIB_INTTYPES_H
3
4#include <stdint.h>
5
6#define PRId8 "hhd"
7#define PRIi8 "hhi"
8#define PRIo8 "hho"
9#define PRIu8 "hhu"
10#define PRIx8 "hhx"
11#define PRIX8 "hhX"
12
13#define PRId16 "hd"
14#define PRIi16 "hi"
15#define PRIo16 "ho"
16#define PRIu16 "hu"
17#define PRIx16 "hx"
18#define PRIX16 "hX"
19
20#define PRId32 "d"
21#define PRIi32 "i"
22#define PRIo32 "o"
23#define PRIu32 "u"
24#define PRIx32 "x"
25#define PRIX32 "X"
26
27#define PRId64 "lld"
28#define PRIi64 "lli"
29#define PRIo64 "llo"
30#define PRIu64 "llu"
31#define PRIx64 "llx"
32#define PRIX64 "llX"
33
34#define PRIdMAX "jd"
35#define PRIiMAX "ji"
36#define PRIoMAX "jo"
37#define PRIuMAX "ju"
38#define PRIxMAX "jx"
39#define PRIXMAX "jX"
40
41#define PRIdPTR "td"
42#define PRIiPTR "ti"
43#define PRIoPTR "to"
44#define PRIuPTR "tu"
45#define PRIxPTR "tx"
46#define PRIXPTR "tX"
47
48#endif /**< lib/inttypes.h */