Manual Reference Pages - USLEEP (3)
- suspend process execution for an interval measured in microseconds
usleep useconds_t microseconds
function suspends execution of the calling process until either
microseconds have elapsed or a signal is delivered to the process and its
action is to invoke a signal-catching function or to terminate the
System activity may lengthen the sleep by an indeterminate amount.
This function is implemented using
by pausing for
microseconds or until a signal occurs.
Consequently, in this implementation,
sleeping has no effect on the state of process timers,
and there is no special handling for SIGALRM.
.Rv -std usleep
will fail if:
A signal was delivered to the process and its
action was to invoke a signal-catching function.
function appeared in
BSD 4.3 .
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.