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)