*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> resettodr (9)              
Title
Content
Arch
Section
 

RESETTODR(9)

Contents


NAME    [Toc]    [Back]

     resettodr -- set battery-backed clock from system time

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <sys/systm.h>

     void
     resettodr(void);

DESCRIPTION    [Toc]    [Back]

     The resettodr() function sets the system's battery-backed clock based on
     the contents of the system time variable.

SEE ALSO    [Toc]    [Back]

      
      
     inittodr(9), time(9)

BUGS    [Toc]    [Back]

     On many systems, resettodr() has to convert from time to a time expressed
     in terms of year, month, day, hours, minutes, and seconds.  Many of the
     implementations could share code, but do not.


FreeBSD 5.2.1		       November 13, 1995		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
presto OpenBSD Prestoserve battery-backed memory
stime Tru64 Set the system-wide time-of-day clock
hardclock OpenBSD real-time system clock
adjtime HP-UX correct the time to synchronize the system clock
adjtime Tru64 Correct the time to allow synchronization of the system clock
adjtime OpenBSD correct the time to allow synchronization of the system clock
adjtime FreeBSD correct the time to allow synchronization of the system clock
adjtime IRIX correct the time to allow synchronization of the system clock
adjtime NetBSD correct the time to allow synchronization of the system clock
adjkerntz FreeBSD adjust local time CMOS clock to reflect time zone changes and keep current timezone offset for the k...
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service