Xen Test Framework
inttypes.h
Go to the documentation of this file.
1 
6 #ifndef INTTYPES_H
7 #define INTTYPES_H
8 
9 #if __SIZEOF_LONG__ == 8
10 # define __PRI64 "l"
11 # define __PRIPTR "l"
12 #else
13 # define __PRI64 "ll"
14 # define __PRIPTR
15 #endif
16 
17 #define PRId32 "d"
18 #define PRIx32 "x"
19 #define PRIo32 "o"
20 #define PRIu32 "u"
21 
22 #define PRId64 __PRI64 "d"
23 #define PRIx64 __PRI64 "x"
24 #define PRIo64 __PRI64 "o"
25 #define PRIu64 __PRI64 "u"
26 
27 #define PRIdPTR __PRIPTR "d"
28 #define PRIoPTR __PRIPTR "o"
29 #define PRIuPTR __PRIPTR "u"
30 #define PRIxPTR __PRIPTR "x"
31 
32 #endif /* INTTYPES_H */
33 
34 /*
35  * Local variables:
36  * mode: C
37  * c-file-style: "BSD"
38  * c-basic-offset: 4
39  * tab-width: 4
40  * indent-tabs-mode: nil
41  * End:
42  */