Function socket2::sys::socketpair

source ยท
pub(crate) fn socketpair(
    family: c_int,
    ty: c_int,
    protocol: c_int,
) -> Result<[c_int; 2]>