Function sceKernelSetAlarm

Source
#[no_mangle]
pub unsafe extern "C" fn sceKernelSetAlarm(
    clock: u32,
    handler: SceKernelAlarmHandler,
    common: *mut c_void,
) -> SceUid
Expand description

Set an alarm.

§Parameters

  • clock: The number of micro seconds till the alarm occurrs.
  • handler: Pointer to a SceKernelAlarmHandler
  • common: Common pointer for the alarm handler

§Return Value

A UID representing the created alarm, < 0 on error.