Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

resettodr — set battery-backed clock from system time

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.

Debian                                          November 13, 1995                                   RESETTODR(9)

Description

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

Name

       resettodr — set battery-backed clock from system time

See Also

inittodr(9), time(9)

Synopsis

#include<sys/types.h>#include<sys/systm.h>voidresettodr(void);

See Also