UALARM(3) BSD Programmer's Manual UALARM(3) NNAAMMEE uuaallaarrmm - schedule signal after specified time SSYYNNOOPPSSIISS ##iinncclluuddee <<uunniissttdd..hh>> _u___i_n_t uuaallaarrmm(_u___i_n_t _m_i_c_r_o_s_e_c_o_n_d_s, _u___i_n_t _i_n_t_e_r_v_a_l); DDEESSCCRRIIPPTTIIOONN TThhiiss iiss aa ssiimmpplliiffiieedd iinntteerrffaaccee ttoo sseettiittiimmeerr((22)).. The uuaallaarrmm() function waits a count of _m_i_c_r_o_s_e_c_o_n_d_s before asserting the terminating signal SIGALRM. System activity or time used in processing the call may cause a slight delay. If the _i_n_t_e_r_v_a_l argument is non-zero, the SIGALRM signal will be sent to the process every _i_n_t_e_r_v_a_l microseconds after the timer expires (e.g. af- ter _v_a_l_u_e microseconds have passed). RREETTUURRNN VVAALLUUEESS When the signal has successfully been caught, aallaarrmm() returns the amount of time left on the clock. The maximum mumber of _m_i_c_r_o_s_e_c_o_n_d_s allowed is 2147483647. SSEEEE AALLSSOO getitimer(2), setitimer(2), sigpause(2), sigvec(2), signal(3), sleep(3), alarm(3), usleep(3) HHIISSTTOORRYY The uuaallaarrmm() function appeared in 4.3BSD. 4.3 Berkeley Distribution June 4, 1993 1