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

with_socket_mut

Function with_socket_mut 

Source
pub fn with_socket_mut<R, F: FnOnce(&mut Socket) -> R>(
    id: usize,
    f: F,
) -> Result<R, KernelError>
Expand description

Execute a closure with a socket by ID (mutable access)