READCLOC.8
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH READCLOCK 8
- .SH NAME
- readclock - read the real time clock [IBM PC/AT and AMIGA]
- .SH SYNOPSIS
- fBreadclockfR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH EXAMPLES
- .EX "date `/usr/bin/readclock` </dev/tty" "Useful in fI/etc/rcfR"
- .SH DESCRIPTION
- .PP
- fIReadclockfR 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 fI/etc/rcfR to load the real time when the system is booted.
- .SH "SEE ALSO"
- .BR date (1).