iPXE
stdint.h
Go to the documentation of this file.
1 #ifndef _STDINT_H
2 #define _STDINT_H
3 
4 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
5 
6 /*
7  * This is a standard predefined macro on all gcc's I've seen. It's
8  * important that we define size_t in the same way as the compiler,
9  * because that's what it's expecting when it checks %zd/%zx printf
10  * format specifiers.
11  */
12 #ifndef __SIZE_TYPE__
13 #define __SIZE_TYPE__ unsigned long /* safe choice on most systems */
14 #endif
15 
16 #include <bits/stdint.h>
17 
18 typedef int8_t s8;
19 typedef uint8_t u8;
20 typedef int16_t s16;
21 typedef uint16_t u16;
22 typedef int32_t s32;
23 typedef uint32_t u32;
24 typedef int64_t s64;
25 typedef uint64_t u64;
26 
27 typedef int8_t int8;
28 typedef uint8_t uint8;
29 typedef int16_t int16;
30 typedef uint16_t uint16;
31 typedef int32_t int32;
32 typedef uint32_t uint32;
33 typedef int64_t int64;
34 typedef uint64_t uint64;
35 
36 #endif /* _STDINT_H */
uint16_t u16
Definition: stdint.h:21
int8_t s8
Definition: stdint.h:18
unsigned short uint16_t
Definition: stdint.h:11
int16_t s16
Definition: stdint.h:20
int8_t int8
Definition: stdint.h:27
int32_t s32
Definition: stdint.h:22
unsigned long long uint64_t
Definition: stdint.h:13
uint8_t uint8
Definition: stdint.h:28
int64_t int64
Definition: stdint.h:33
int64_t s64
Definition: stdint.h:24
int32_t int32
Definition: stdint.h:31
signed long long int64_t
Definition: stdint.h:18
uint64_t u64
Definition: stdint.h:25
signed char int8_t
Definition: stdint.h:15
uint16_t uint16
Definition: stdint.h:30
unsigned char uint8_t
Definition: stdint.h:10
unsigned int uint32_t
Definition: stdint.h:12
uint64_t uint64
Definition: stdint.h:34
signed int int32_t
Definition: stdint.h:17
int16_t int16
Definition: stdint.h:29
signed short int16_t
Definition: stdint.h:16
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
uint32_t uint32
Definition: stdint.h:32
uint8_t u8
Definition: stdint.h:19
uint32_t u32
Definition: stdint.h:23