RTEMS 4.7.0 On-Line Library
Clock Manager clock_getres - Get Clock Resolution
 
 
RTEMS POSIX API User's Guide 
14.4.3: clock_getres - Get Clock Resolution
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-2004 OAR Corporation