#[no_mangle]
pub unsafe extern "C" fn sceKernelSelfStopUnloadModule(
    unknown: i32,
    arg_size: usize,
    argp: *mut c_void
) -> i32
Expand description

Stop and unload the current module.

Parameters

  • unknown: Unknown (I’ve seen 1 passed).
  • arg_size: Size (in bytes) of the arguments that will be passed to module_stop.
  • argp: Pointer to arguments that will be passed to module_stop.

Return Value

??? on success, otherwise one of KernelErrorCodes.