blob: 6a8020e7e0cb26631b3bb56a07d4857ad4d73804 [file] [log] [blame]
Martin Roth9b1b3352016-02-24 12:27:06 -08001#ifndef I386_STDINT_H
2#define I386_STDINT_H
3
4/* Exact integral types */
5typedef unsigned char uint8_t;
Martin Roth4dcd13d2016-02-24 13:53:07 -08006typedef signed char int8_t;
Martin Roth9b1b3352016-02-24 12:27:06 -08007
8typedef unsigned short uint16_t;
9typedef signed short int16_t;
10
11typedef unsigned int uint32_t;
12typedef signed int int32_t;
13
14typedef unsigned long long uint64_t;
15typedef signed long long int64_t;
16
17/* Small types */
18typedef unsigned char uint_least8_t;
Martin Roth4dcd13d2016-02-24 13:53:07 -080019typedef signed char int_least8_t;
Martin Roth9b1b3352016-02-24 12:27:06 -080020
21typedef unsigned short uint_least16_t;
22typedef signed short int_least16_t;
23
24typedef unsigned int uint_least32_t;
25typedef signed int int_least32_t;
26
27typedef unsigned long long uint_least64_t;
28typedef signed long long int_least64_t;
29
30/* Fast Types */
31typedef unsigned char uint_fast8_t;
Martin Roth4dcd13d2016-02-24 13:53:07 -080032typedef signed char int_fast8_t;
Martin Roth9b1b3352016-02-24 12:27:06 -080033
34typedef unsigned int uint_fast16_t;
35typedef signed int int_fast16_t;
36
37typedef unsigned int uint_fast32_t;
38typedef signed int int_fast32_t;
39
40typedef unsigned long long uint_fast64_t;
41typedef signed long long int_fast64_t;
42
43/* Types for `void *' pointers. */
44typedef int intptr_t;
45typedef unsigned int uintptr_t;
46
47/* Largest integral types */
48typedef long long int intmax_t;
49typedef unsigned long long uintmax_t;
50
51
52#endif /* I386_STDINT_H */