Function fdio::transfer_fd

source ·
pub fn transfer_fd(f: impl AsRawFd) -> Result<Handle, Status>
Expand description

Removes an object from the file descriptor table and returns its underlying handle.