Updated: 2021/Apr/14


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

NAME
     resettodr - set battery-backed clock from system time

SYNOPSIS
     void
     resettodr(void);

DESCRIPTION
     The resettodr() function sets the system's battery-backed clock based on
     the current system time.

SEE ALSO
     clock_secs_to_ymdhms(9), inittodr(9), time_second(9)

NetBSD 9.99                      March 2, 2006                     NetBSD 9.99