RTEMS 4.7.99.2 On-Line Library
Clock Manager clock_settime - Set Time of Day
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
RTEMS POSIX API User's Guide
Copyright © 1988-2004 OAR Corporation