rtc(4) - NetBSD Manual Pages

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 5.1 November 21, 1999 NetBSD 5.1

Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.