OAR

RTEMS 4.0.0 On-Line Library


clock_settime

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

6.4.2: clock_settime

CALLING SEQUENCE:

#include <time.h>

int clock_settime(
  clockid_t              clock_id,
  const 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.
EINVAL
The contents of the tp structure are invalid.

DESCRIPTION:

NOTES:


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-1998 OAR Corporation