mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
- include/ now has subdirs - standard C headers will be in 'include/c'. Any program can include these - all other header shall only be used by the kernel
22 lines
392 B
C
22 lines
392 B
C
#ifndef STDINT_H
|
|
#define STDINT_H
|
|
|
|
#define NULL ((void*)0)
|
|
|
|
// Signed ints
|
|
typedef signed char int8_t;
|
|
typedef signed short int16_t;
|
|
typedef signed int int32_t;
|
|
typedef signed long long int64_t;
|
|
|
|
// Unsigned ints
|
|
typedef unsigned char uint8_t;
|
|
typedef unsigned short uint16_t;
|
|
typedef unsigned int uint32_t;
|
|
typedef unsigned long long uint64_t;
|
|
|
|
// Other
|
|
typedef unsigned int size_t;
|
|
|
|
#endif
|