SYNOPSIS
#include <unistd.h>
int usleep(useconds_t period);
DESCRIPTION
The
PARAMETERS
- period
-
Is the number of real-time (as opposed to CPU-time) microseconds to suspend the calling thread. This value must be less than 1,000,000. If this value is 0, the call has no effect.
RETURN VALUES
If successful,
CONFORMANCE
UNIX 98.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
On Windows NT/2000/XP/2003/Vista, waitable timers with 100-nanosecond resolution are available,
so
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
alarm() ,getitimer() ,kill() ,nanosleep() ,nap() ,pause() ,sigaction() ,signal() ,sigpause() ,sleep()
MKS Toolkit 9.2 Documentation Build 16.