]> git.lizzy.rs Git - rust.git/blob - library/core/src/ffi/c_int.md
Provide C FFI types via core::ffi, not just in std
[rust.git] / library / core / src / ffi / c_int.md
1 Equivalent to C's `signed int` (`int`) type.
2
3 This type will almost always be [`i32`], but may differ on some esoteric systems. The C standard technically only requires that this type be a signed integer that is at least the size of a [`short`]; some systems define it as an [`i16`], for example.
4
5 [`short`]: c_short