Function socketpair
pub fn socketpair(
domain: AddressFamily,
type_: SocketType,
flags: SocketFlags,
protocol: Option<Protocol>,
) -> Result<(OwnedFd, OwnedFd), Errno> ⓘ
Available on crate feature
dep_rustix
only.pub fn socketpair(
domain: AddressFamily,
type_: SocketType,
flags: SocketFlags,
protocol: Option<Protocol>,
) -> Result<(OwnedFd, OwnedFd), Errno> ⓘ
dep_rustix
only.