Skip to main content

ioctl

Function ioctl 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ioctl( fd: c_int, request: c_ulong, arg: *mut c_void, ) -> c_int
Expand description

The ioctl every caller in the process gets instead of libc’s.

§Safety

Same contract as ioctl(2). On x86-64 a variadic call with one pointer-sized argument is ABI-compatible with this signature.