RTEMS 4.7.2 On-Line Library
Clock Manager nanosleep - Delay with High Resolution
RTEMS POSIX API User's Guide
14.4.6: nanosleep - Delay with High Resolution
CALLING SEQUENCE:
-
#include <time.h>
int nanosleep(
const struct timespec *rqtp,
struct timespec *rmtp
);
STATUS CODES:
On error, this routine returns -1 and sets errno to one of the following:
- EINTR
-
The routine was interrupted by a signal.
- EAGAIN
-
The requested sleep period specified negative seconds or nanoseconds.
- EINVAL
-
The requested sleep period specified an invalid number for the nanoseconds
field.
DESCRIPTION:
NOTES:
This call is interruptible by a signal.
RTEMS POSIX API User's Guide
Copyright © 1988-2004 OAR Corporation