Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
RESETTODR(9)	       FreeBSD 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.

FreeBSD	13.0		       November	13, 1995		  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | BUGS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=resettodr&sektion=9&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help