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 8.1/2012R2/10/2016/2019/11/2022, waitable timers with 100-nanosecond resolution are available,
so
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
_NutConf() ,alarm() ,getitimer() ,kill() ,nanosleep() ,nap() ,pause() ,sigaction() ,signal() ,sigpause() ,sleep()
PTC MKS Toolkit 10.4 Documentation Build 39.