Files
oldlinux-files/Minix/CD-ROM-2.0/MINIX/MANUALS/CAT8/READCLOC.8
2024-02-19 00:21:39 -05:00

60 lines
814 B
Groff

READCLOCK(8) Minix Programmer's Manual READCLOCK(8)
NAME
readclock - read the real time clock [IBM PC/AT and AMIGA]
SYNOPSIS
readclock
EXAMPLES
date `/usr/bin/readclock` </dev/tty
# Useful in /etc/rc
DESCRIPTION
Readclock reads the AT's real time clock and prints the result in a form
useful to date, namely, MMDDYYhhmmss. If the clock does not exist (e.g.,
on a PC), it outputs '-q' to query the user for the time. The example
given above can be put in /etc/rc to load the real time when the system
is booted.
SEE ALSO
date(1).
1