resettodr(9) freebsd man page | unix.com

Man Page: resettodr

Operating Environment: freebsd

Section: 9

RESETTODR(9)						   BSD Kernel Developer's Manual					      RESETTODR(9)

NAME
resettodr -- set battery-backed clock from system time
SYNOPSIS
#include <sys/types.h> #include <sys/systm.h> void resettodr(void);
DESCRIPTION
The resettodr() function sets the system's battery-backed clock based on the contents of the system time variable.
SEE ALSO
inittodr(9), time(9)
BUGS
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.
BSD
November 13, 1995 BSD
Related Man Pages
inittodr(9) - debian
boottime(9) - netbsd
clock_ymdhms_to_secs(9) - netbsd
todr(9) - netbsd
inittodr(9) - freebsd
Similar Topics in the Unix Linux Community
Unix File Permissions
Mac OS X: Based on UNIX - Solid As a Rock
Is UNIX an open source OS ?
Reason for no directory creation date
Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD?