Function rustix::net::socketpair
source · [−]pub fn socketpair(
domain: AddressFamily,
type_: SocketType,
flags: SocketFlags,
protocol: Protocol
) -> Result<(OwnedFd, OwnedFd)>
pub fn socketpair(
domain: AddressFamily,
type_: SocketType,
flags: SocketFlags,
protocol: Protocol
) -> Result<(OwnedFd, OwnedFd)>