File:  [Plan 9 NeXT] / lucent / sys / man / 3 / rtc
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:01:01 2018 UTC (8 years, 1 month ago) by root
Branches: lucent, MAIN
CVS tags: plan9, HEAD
Plan 9 NeXT

.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 the
Mostek MK48T12-15 Zeropower/Timekeeper and similar 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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.