Skip to main content

u32_cast_ioctl

Function u32_cast_ioctl 

Source
pub(crate) const fn u32_cast_ioctl(x: u32) -> c_ulong
Expand description

Used to avoid overflowing_literals when the value is in-range for the unsigned number but out-of-range for signed.