Type Definition std::ffi::c_ushort

source · []
pub type c_ushort = u16;
🔬 This is a nightly-only experimental API. (core_ffi_c #94501)
Expand description

Equivalent to C’s unsigned short type.

This type will almost always be u16, but may differ on some esoteric systems. The C standard technically only requires that this type be an unsigned integer with the same size as a short.