Function nix::sys::ioctl::op_read_write [] [src]

pub fn op_read_write(ioctl_type: u8, nr: u8, size: usize) -> ioctl_op_t

Build an op indicating that the data pointer both contains data to be consumed by the kernel and contains fields that will be populated by the kernel.

This provides the same functionality as the Linux _IOWR macro.