Sets the systemwide time-of-day timer.
#include <sys/types.h> #include <sys/errno.h> #include <sys/time.h>
int ksettimer (nct) struct timestruc_t *nct;
The ksettimer kernel service provides a kernel extension with the capability to set the systemwide time-of-day timer. Kernel extensions typically use this kernel service to support network coordinated time, which is the periodic synchronization of all system clocks to a common time by a time server or set of time servers on a network. The newly set "current" time must represent the amount of time since 00:00:00 GMT, January 1, 1970.
The ksettimer kernel service can be called from the process environment only.
The ksettimer kernel service is part of Base Operating System (BOS) Runtime.
Using Fine Granularity Timer Services and Structures andTimer and Time-of-Day Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.