Function psp::sys::sceKernelCreateCallback

source ·
#[no_mangle]
pub unsafe extern "C" fn sceKernelCreateCallback(
    name: *const u8,
    func: SceKernelCallbackFunction,
    arg: *mut c_void
) -> SceUid
Expand description

Create callback.

§Parameters

  • name: A textual name for the callback.
  • func: A pointer to a function that will be called as the callback.
  • arg: Argument for the callback?

§Return Value

= 0 A callback id which can be used in subsequent functions, < 0 an error.