MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / read_write

Function read_write

src/ioctl/mod.rs:261–263  ·  view source on GitHub ↗
(group: u8, number: u8)

Source from the content-addressed store, hash-verified

259 #[doc(alias = "_IOWR")]
260 #[inline]
261 pub const fn read_write<T>(group: u8, number: u8) -> Opcode {
262 from_components(Direction::ReadWrite, group, number, mem::size_of::<T>())
263 }
264}
265
266/// The direction that an `ioctl` is going.

Callers

nothing calls this directly

Calls 1

from_componentsFunction · 0.85

Tested by

no test coverage detected