correct the rate of the system clock
() adjusts the rate in which time
progresses if freq
is non-null. The unit of
the rate of adjustment is nanoseconds per second, shifted left 32 bits to
allow for fractional values.
is non-null, the current value is
Only the superuser may adjust the frequency.
Upon successful completion, the value 0 is returned; otherwise the
value -1 is returned and the global variable
is set to indicate the error.
() will fail if:
- Either of the arguments point outside the process's allocated address
- The freq argument is non-null and the
process's effective user ID is not that of the superuser.
() function call first appeared in