Function ctru_sys::srvGetServiceHandle
source · pub unsafe extern "C" fn srvGetServiceHandle(
out: *mut Handle,
name: *const c_char
) -> Result
Expand description
Retrieves a service handle, retrieving from the environment handle list if possible.
§Arguments
out
- Pointer to write the handle to.name
- Name of the service.
§Returns
0 if no error occured, 0xD8E06406 if the caller has no right to access the service, 0xD0401834 if the requested service port is full and srvGetServiceHandle is non-blocking (see srvSetBlockingPolicy).