| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

inttypes.h
Go to the documentation of this file.
1
32 #ifndef INTTYPES_H
33 #define INTTYPES_H
34
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 #include <stdint.h>
39
40
42 #define __16_PREFIX "h"
43 #if defined (__arm__)
44 #define __64_PREFIX "ll"
45 #elif defined (__aarch64__)
46 #define __64_PREFIX "l"
47 #endif
48
53 #define PRId16 __16_PREFIX "d"
54
56 #define PRId32 "d"
57
59 #define PRId64 __64_PREFIX "d"
60
63 #define PRIu16 __16_PREFIX "u"
64
66 #define PRIu32 "u"
67
69 #define PRIu64 __64_PREFIX "u"
70
73 #define PRIx16 __16_PREFIX "x"
74
76 #define PRIx32 "x"
77
79 #define PRIx64 __64_PREFIX "x"
80
81
84 #define SCNd16 __16_PREFIX "d"
85
87 #define SCNd32 "d"
88
90 #define SCNd64 __64_PREFIX "d"
91
94 #define SCNu16 __16_PREFIX "u"
95
97 #define SCNu32 "u"
98
100 #define SCNu64 __64_PREFIX "u"
101
104 #define SCNx16 __16_PREFIX "x"
105
107 #define SCNx32 "x"
108
110 #define SCNx64 __64_PREFIX "x"
111
112
113 #ifdef __cplusplus
114 }
115 #endif
116
117 #endif /* INTTYPES_H */
118