4.4BSD/usr/share/man/cat3/usleep.0

Compare this file to the similar file:
Show the results in this format:

USLEEP(3)                   BSD Programmer's Manual                  USLEEP(3)

NNAAMMEE
     uusslleeeepp - suspend execution for interval of microseconds

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<uunniissttdd..hh>>

     _v_o_i_d
     uusslleeeepp(_u___i_n_t _m_i_c_r_o_s_e_c_o_n_d_s);

DDEESSCCRRIIPPTTIIOONN
     The uusslleeeepp() function suspends execution of the calling process for
     _m_i_c_r_o_s_e_c_o_n_d_s of time.  System activity or time spent in processing the
     call may lengthen the sleep slightly.

     If a timer is already running on the process its state is saved.  If the
     value _m_i_c_r_o_s_e_c_o_n_d_s is more than or equal to the remaining clock time for
     the saved timer, the sleep time is set to the remaining clock time.  The
     state of the previous timer is restored after _m_i_c_r_o_s_e_c_o_n_d_s has passed.

     This routine is implemented using setitimer(2);  it requires eight system
     calls each time it is invoked.  A similar but less compatible function
     can be obtained with a single select(2);  such a function would not
     restart after signals, but would not interfere with other uses of
     setitimer.

SSEEEE AALLSSOO
     setitimer(2),  getitimer(2),  sigpause(2),  ualarm(3),  sleep(3),
     alarm(3)

HHIISSTTOORRYY
     The uusslleeeepp() function appeared in 4.3BSD.

4.3 Berkeley Distribution        June 4, 1993                                1