ualarm function
Set an alarm to go off (generating a SIGALRM signal) in VALUE microseconds. If INTERVAL is nonzero, when the alarm goes off, the timer is reset to go off every INTERVAL microseconds thereafter. Returns the number of microseconds remaining before the alarm.
Implementation
int ualarm(
int value,
int interval,
) {
_ualarm ??= Libc().dylib.lookupFunction<
ffi.Uint32 Function(ffi.Uint32, ffi.Uint32), _dart_ualarm>('ualarm');
return _ualarm!(
value,
interval,
);
}