#[unsafe(no_mangle)]pub unsafe extern "C" fn ioctl(
fd: c_int,
request: c_ulong,
arg: *mut c_void,
) -> c_intExpand 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.