unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (plan9)
Page:
Section:
Apropos / Subsearch:
optional field

RTC(3)                     Library Functions Manual                     RTC(3)



NAME
       rtc - real-time clock and non-volatile RAM

SYNOPSIS
       bind #r /dev

       /dev/rtc
       /dev/nvram

DESCRIPTION
       The  rtc device supports the Mostek MK48T12-15 Zeropower/Timekeeper and
       similar devices with real-time clocks and non-volatile RAM.

       The rtc file behaves just like /dev/time (see cons(3)).  The  real-time
       clock  is  maintained  on-board; /dev/time is set from the file server.
       Neither is necessarily more accurate.

       The nvram file provides (if permission allows) access to the local non-
       volatile  RAM.  For example, boot(8) reads the machine's key from there
       (see auth(8)).

SEE ALSO
       auth(8), boot(8)

SOURCE
       /sys/src/9/*/devrtc.c



                                                                        RTC(3)