Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nap(3x) — HP-UX C++ A.03.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

select(2)

getitimer(2)

sleep(3C)

 

NAME

nap - millisecond sleep function

SYNOPSIS


#include <codelibs/nap.h>
 extern void nap(int milliseconds);
 CC ... -lcodelibs

DESCRIPTION

nap waits for the given number of milliseconds to elapse before returning.  The resolution of this function is dependent upon the resolution of the system clock.  This is typically between 10 and 100 milliseconds.  See getitimer(2) for more details.

HARDWARE DEPENDENCIES

Series 300:

Resolution of system clock is 20 milliseconds. 

SEE ALSO

select(2), getitimer(2), sleep(3C).

  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026