ref: 2ca54f6a26ceda9cfe5012c641154e203ff9a83b
dir: /sys/man/3/rtc/
.TH RTC 3 .SH NAME rtc \- real-time clock and non-volatile RAM .SH SYNOPSIS .B bind #r /dev .PP .B /dev/rtc .br .B /dev/nvram .SH DESCRIPTION The .I rtc device supports devices with real-time clocks and non-volatile RAM. .PP The .B rtc file behaves just like .BR /dev/time (see .IR cons (3)). The real-time clock is maintained on-board; .B /dev/time is set from the file server. Neither is necessarily more accurate. .PP The .B nvram file provides (if permission allows) access to the local non-volatile RAM. For example, .IR boot (8) reads the machine's key from there (see .IR auth (8)). .SH SEE ALSO .IR auth (8), .IR boot (8) .SH SOURCE .B /sys/src/9/*/devrtc.c