Function rustix::net::socketpair

pub fn socketpair(domain: AddressFamily, type_: SocketType, flags: SocketFlags, protocol: Protocol) -> io::Result<(OwnedFd, OwnedFd)>
Documentation

socketpair(domain, type_ | accept_flags, protocol)

References