pub unsafe fn linux_sys_ioctl(
fd: c_int,
request: c_ulong,
argp: *mut u8,
) -> isize ⓘ
Available on crate features
unsafe_syscall
and linux
only.Expand description
Performs an ioctl
syscall.
Performs a generic I/O control operation (ioctl) on the given file descriptor.
The operation to perform and the data to use is determined by the request
argument, which is a device-specific request code, and the argp
argument,
which is a pointer to the data.
§Info
§Safety
TODO