⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

socketpair

Function socketpair 

Source
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.