OpenBSD manual page server

Manual Page Search Parameters

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

resettodrset battery-backed clock from system time

void
resettodr(void);

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

inittodr(9), time(9)

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.

May 31, 2007 OpenBSD-5.7