aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / libc / src / switch.rs
| 1 | //! Switch C type definitions |
| 2 | use crate::prelude::*; |
| 3 | |
| 4 | pub type intmax_t = i64; |
| 5 | pub type uintmax_t = u64; |
| 6 | |
| 7 | pub type size_t = usize; |
| 8 | pub type ptrdiff_t = isize; |
| 9 | pub type intptr_t = isize; |
| 10 | pub type uintptr_t = usize; |
| 11 | pub type ssize_t = isize; |
| 12 | |
| 13 | pub type off_t = i64; |
| 14 | pub type wchar_t = u32; |
| 15 | |
| 16 | pub const INT_MIN: c_int = -2147483648; |
| 17 | pub const INT_MAX: c_int = 2147483647; |