Function fdio::transfer_fd

source ยท
pub fn transfer_fd(f: impl Into<OwnedFd>) -> Result<Handle, Status>
Expand description

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