usleep(3) - NetBSD Manual Pages

USLEEP(3)                 NetBSD Programmer's Manual                 USLEEP(3)


NAME
usleep - suspend execution for interval of microseconds
SYNOPSIS
#include <unistd.h> void usleep(u_int microseconds);
DESCRIPTION
The usleep() function suspends execution of the calling process until ei- ther the number of microseconds specified by microseconds have elapsed or a signal is delivered to the calling process and its action is to invoke a signal catching function or to terminate the process. The suspension time may be longer than requested due to the scheduling of other activity by the system.
RETURN VALUE
The usleep() function returns no value.
SEE ALSO
nanosleep(2), sleep(3)
HISTORY
The usleep() function appeared in 4.3BSD. 4.3 Berkeley Distribution June 4, 1993 1

Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.