Skip to main content

sceKernelStopModule

Function sceKernelStopModule 

Source
pub unsafe extern "C" fn sceKernelStopModule(
    modid: SceUID,
    argsize: SceSize,
    argp: *mut c_void,
    status: *mut c_int,
    option: *mut SceKernelSMOption,
) -> c_int
Expand description

Stop a running module.

@param modid - The UID of the module to stop. @param argsize - The length of the arguments pointed to by argp. @param argp - Pointer to arguments to pass to the module’s module_stop() routine. @param status - Return value of the module’s module_stop() routine. @param option - Pointer to an optional ::SceKernelSMOption structure.

@return ??? on success, otherwise one of ::PspKernelErrorCodes.