pub const unsafe fn ioctl_const_arg<Device, Result, const ARG: int>(
request: ulong,
) -> IoctlReqConstArg<Device, Result, ARG>
Expand description
Constructs a new read-only IoctlReq
with a fixed request code that
passes a constant integer to ioctl
and returns its result in the system
call return value.
Safety: Callers must ensure that the given request
is valid.