usleep man page on Xenix

Man page or keyword search:  
man Server   1130 pages
apropos Keyword Search (all sections)
Output format
Xenix logo
[printable version]

USLEEP(3)							     USLEEP(3)

NAME
       usleep - suspend execution for interval

SYNOPSIS
       usleep(useconds)
       unsigned useconds;

DESCRIPTION
       The  current  process  is  suspended  from  execution for the number of
       microseconds specified by the argument.	The actual suspension time may
       be  an  arbitrary amount longer because of other activity in the system
       or because of the time spent in processing the call.

       The routine is implemented by setting an	 interval  timer  and  pausing
       until  it  occurs.   The	 previous  state  of  this  timer is saved and
       restored.  If the sleep time exceeds the time to the expiration of  the
       previous	 timer,	 the  process  sleeps only until the signal would have
       occurred, and the signal is sent a short time later.

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

SEE ALSO
       setitimer(2), getitimer(2), sigpause(2), ualarm(3), sleep(3), alarm(3)

4.3 Berkeley Distribution	 May 15, 1986			     USLEEP(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net