coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
inttypes.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef INTTYPES_H
4 #define INTTYPES_H
5 
6 #include <stdint.h>
7 
8 /* int8_t and uint8_t */
9 #define PRId8 "d"
10 #define PRIi8 "i"
11 #define PRIu8 "u"
12 #define PRIo8 "o"
13 #define PRIx8 "x"
14 #define PRIX8 "X"
15 
16 /* int16_t and uint16_t */
17 #define PRId16 "d"
18 #define PRIi16 "i"
19 #define PRIu16 "u"
20 #define PRIo16 "o"
21 #define PRIx16 "x"
22 #define PRIX16 "X"
23 
24 /* int32_t and uint32_t */
25 #define PRId32 "d"
26 #define PRIi32 "i"
27 #define PRIu32 "u"
28 #define PRIo32 "o"
29 #define PRIx32 "x"
30 #define PRIX32 "X"
31 
32 /* int64_t and uint64_t */
33 #define PRId64 "lld"
34 #define PRIi64 "lli"
35 #define PRIu64 "llu"
36 #define PRIo64 "llo"
37 #define PRIx64 "llx"
38 #define PRIX64 "llX"
39 
40 /* intptr_t and uintptr_t */
41 #define PRIdPTR "ld"
42 #define PRIiPTR "li"
43 #define PRIuPTR "lu"
44 #define PRIoPTR "lo"
45 #define PRIxPTR "lx"
46 #define PRIXPTR "lX"
47 
48 /* intmax_t and uintmax_t */
49 #define PRIdMAX "jd"
50 #define PRIiMAX "ji"
51 #define PRIuMAX "ju"
52 #define PRIoMAX "jo"
53 #define PRIxMAX "jx"
54 #define PRIXMAX "jX"
55 
56 #endif /* INTTYPES_H */