OAR

RTEMS 4.0.0 On-Line Library


clock_gettime

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

6.4.1: clock_gettime

CALLING SEQUENCE:

#include <time.h>

int clock_gettime(
  clockid_t        clock_id,
  struct timespec *tp
);

STATUS CODES:

On error, this routine returns -1 and sets errno to one of the following:

EINVAL
The tp pointer parameter is invalid.
EINVAL
The clock_id specified is invalid.

DESCRIPTION:

NOTES:


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-1998 OAR Corporation