pub fn socketpair(
socket_type: UnixSocketType,
owner_pid: u64,
) -> KernelResult<(u64, u64)>Expand description
Create an anonymous connected socket pair (socketpair).
Returns (socket_a_id, socket_b_id) where both sockets are connected.
pub fn socketpair(
socket_type: UnixSocketType,
owner_pid: u64,
) -> KernelResult<(u64, u64)>Create an anonymous connected socket pair (socketpair).
Returns (socket_a_id, socket_b_id) where both sockets are connected.