RTEMS 4.0.0 On-Line Library
clock_getres
RTEMS POSIX API User's Guide
6.4.3: clock_getres
CALLING SEQUENCE:
-
#include <time.h>
int clock_getres(
clockid_t clock_id,
struct timespec *res
);
STATUS CODES:
On error, this routine returns -1 and sets errno to one of the following:
- EINVAL
-
The res pointer parameter is invalid.
- EINVAL
-
The clock_id specified is invalid.
DESCRIPTION:
NOTES:
If res is NULL, then the resolution is not returned.
RTEMS POSIX API User's Guide
Copyright © 1988-1998 OAR Corporation