Re: C functions to set the linux hardware clock

From: Floyd L. Davidson (floyd_at_barrow.com)
Date: 03/30/04


Date: Tue, 30 Mar 2004 05:09:00 -0900

fr.lair@laposte.net (flair) wrote:
>Hi,
>
>I am programming a software in C language, for Linux. This software
>(running in super-user mode) will have to set the hardware clock.
>Which C functions can I use to adjust the hardware clock?
>
>I have already tried to use the function "settimeofday", but when I
>restart the computer, the time is not saved.
>
>Thanks
>Flair

  http://freshmeat.net/projects/hwclock/

--
Floyd L. Davidson           <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)                         floyd@barrow.com


Relevant Pages