syscall::call

Function sendfd

source
pub fn sendfd(
    receiver_socket: usize,
    fd: usize,
    flags: usize,
    arg: u64,
) -> Result<usize>
Expand description

Send a file descriptor fd, handled by the scheme providing receiver_socket. flags is currently unused (must be zero), and arg is included in the scheme call.

The scheme can return an arbitrary value.