Name Description Size
bsd.rs `ioctl` opcode behavior for BSD platforms. 720
linux.rs `ioctl` opcode behavior for Linux platforms. 3177
mod.rs Unsafe `ioctl` API. Unix systems expose a number of `ioctl`'s. `ioctl`s have been adopted as a general purpose system call for making calls into the kernel. In addition to the wide variety of system calls that are included by default in the kernel, many drivers expose their own `ioctl`'s for controlling their behavior, some of which are proprietary. Therefore it is impossible to make a safe interface for every `ioctl` call, as they all have wildly varying semantics. This module provides an unsafe interface to write your own `ioctl` API. To start, create a type that implements [`Ioctl`]. Then, pass it to [`ioctl`] to make the `ioctl` call. 11542
patterns.rs Implements typical patterns for `ioctl` usage. 7289