[][src]Function sunrise_kernel::ipc::create_named_port

pub fn create_named_port(
    name: [u8; 12],
    max_sessions: u32
) -> Result<ServerPort, UserspaceError>

Creates a named port.

Registers a new named port. Name should contain a \0 delimiting the end of the string.

Errors

Returns ExceedingMaximum if the name doesn't contain a \0.