[ntp:questions] Re: adjtime limited to 2145 seconds?

Ulrich Windl Ulrich.Windl at RZ.Uni-Regensburg.DE
Fri Jan 20 12:42:24 UTC 2006

"Santashil  PalChaudhuri" <santapc at gmail.com> writes:

> Hi,
> Below I give a code snippet, for using adjtime() on my redhat system.
> The maximum delta allowed is +/- 2145 seconds. If I give bigger than
> this, then I get a EINVAL error no 22 as the delta is greater than the
> maximum allowed. Is this normal?

No, it's just the punishment for the programmers to convert the offset into a
signed 32bit integer, namely microseconds.


More information about the questions mailing list