3 /*===========================================================================*
5 *===========================================================================*/
6 int sys_setalarm(exp_time
, abs_time
)
7 clock_t exp_time
; /* expiration time for the alarm */
8 int abs_time
; /* use absolute or relative expiration time */
10 /* Ask the SYSTEM schedule a synchronous alarm for the caller. The process
11 * number can be SELF if the caller doesn't know its process number.
14 m
.ALRM_EXP_TIME
= exp_time
; /* the expiration time */
15 m
.ALRM_ABS_TIME
= abs_time
; /* time is absolute? */
16 return _kernel_call(SYS_SETALARM
, &m
);