summaryrefslogtreecommitdiff
path: root/static/plan9-4e/man3/rtc.3
diff options
context:
space:
mode:
Diffstat (limited to 'static/plan9-4e/man3/rtc.3')
-rw-r--r--static/plan9-4e/man3/rtc.340
1 files changed, 40 insertions, 0 deletions
diff --git a/static/plan9-4e/man3/rtc.3 b/static/plan9-4e/man3/rtc.3
new file mode 100644
index 00000000..da30231f
--- /dev/null
+++ b/static/plan9-4e/man3/rtc.3
@@ -0,0 +1,40 @@
+.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