I'm trying to do adjtime
to adjust the clock (which is, for example, 15 mins in future) supplying correct offset to adjtime
function. But as I understand adjtime
does it very slowly. So when I actually call the function and then check the time it remains the same.
How can I make a small adjustements (e.g. 1s to 1hr) so that effect appears immediately?
Thanks.