RTEMS Logo

RTEMS 4.9.5 On-Line Library


Clock Manager clock_settime - Set Time of Day

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

14.4.2: clock_settime - Set Time of Day

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:

NONE


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation