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 resettodr() function sets the system's battery backed clock based on the contents of the system time_second variable or a function such as microtime(9).

inittodr(9), microtime(9), time_second(9)

April 3, 2016 OpenBSD-current