rtc(4) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
RTC(4)               NetBSD/atari Kernel Interfaces Manual              RTC(4)


NAME
rtc -- Atari Real Time Clock
SYNOPSIS
clock0 at mainbus0
DESCRIPTION
The rtc driver supports reading from and writing to the Atari real time clock (RTC). When reading from the RTC, the format string of the output, as described in the strftime(3) manual page, is: ``%Y%m%d%H%M.%S'' The same format is used to set the RTC to the current date. Note that the kernel expects the RTC to run in UTC.
FILES
/dev/rtc
EXAMPLES
date -u +%Y%m%d%H%M.%S > /dev/rtc
SEE ALSO
date(1), strftime(3) NetBSD 9.0 November 21, 1999 NetBSD 9.0
Powered by man-cgi 1.15, Panagiotis Christias
Modified for NetBSD by Kimmo Suominen