Function rustix::backend::conv::raw_fd

source ·
pub(super) unsafe fn raw_fd<'a, Num: ArgNumber>(fd: RawFd) -> ArgReg<'a, Num>
Expand description

Pass a raw file-descriptor argument. Most users should use ArgReg::from instead, to preserve I/O safety as long as possible.

§Safety

fd must be a valid open file descriptor.