[−][src]Function sunrise_kernel::syscalls::connect_to_named_port
pub fn connect_to_named_port(
name: UserSpacePtr<[u8; 12]>
) -> Result<usize, UserspaceError>
Connects to the given named port. The name should be a 12-byte array containing a null-terminated string.
Returns
Returns a ClientSession handle.
Error
- ExceedingMaximum: Name is bigger than 12 character, or is missing a \0.
- NoSuchEntry: No named port were registered with this name.
- PortRemoteDead: All associated ServerPort handles are closed.