RTC(4) |
Kernel Interfaces Manual (ATARI) |
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.
EXAMPLES
date -u +%Y%m%d%H%M.%S > /dev/rtc