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