[−][src]Function sunrise_kernel::syscalls::manage_named_port
pub fn manage_named_port(
name_ptr: UserSpacePtr<[u8; 12]>,
max_sessions: u32
) -> Result<usize, UserspaceError>
Creates a new ServerPort for the given named port. The name should be a
12-byte array containing a null-terminated string. This ServerPort can be
connected to with connect_to_named_port
.
Returns
Returns a ServerSession handle.
Error
- ExceedingMaximum: Name is bigger than 12 character, or is missing a \0.