summaryrefslogtreecommitdiff
path: root/man4/rtc.4
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-11 23:18:56 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-11 23:18:56 +0000
commit5e21af3ab87acb1e0dc9d7bca61d4d653be69104 (patch)
tree5e5e6969e8736badae0145390d4f8817d10a1346 /man4/rtc.4
parent393a89e6985aa9377563fd81dd254f6b3162f4cf (diff)
Added section numbers to xrefs to other pages
Diffstat (limited to 'man4/rtc.4')
-rw-r--r--man4/rtc.420
1 files changed, 10 insertions, 10 deletions
diff --git a/man4/rtc.4 b/man4/rtc.4
index fcc70e0c..e0e17b73 100644
--- a/man4/rtc.4
+++ b/man4/rtc.4
@@ -116,7 +116,7 @@ the types of interrupt that occurred,
while the remaining 3 bytes contain the number of interrupts since the
last
.BR read (2).
-.SS ioctl() interface
+.SS ioctl(2) interface
The following
.BR ioctl (2)
requests are defined on file descriptors connected to RTC devices:
@@ -147,14 +147,14 @@ The fields in this structure have the same meaning and ranges as for the
structure described in
.BR gmtime (3).
A pointer to this structure should be passed as the third
-.BR ioctl ()
+.BR ioctl (2)
argument.
.TP
.B RTC_SET_TIME
Sets this RTC's time to the time specified by the
.I rtc_time
structure pointed to by the third
-.BR ioctl ()
+.BR ioctl (2)
argument.
To set the
RTC's time the process must be privileged (i.e., have the
@@ -166,7 +166,7 @@ Read and set the alarm time, for RTCs that support alarms.
The alarm interrupt must be separately enabled or disabled using the
.BR RTC_AIE_ON ", " RTC_AIE_OFF
requests.
-The third \fBioctl\fP() argument is a pointer to an
+The third \fBioctl\fP(2) argument is a pointer to an
.I rtc_time
structure.
Only the
@@ -182,7 +182,7 @@ for RTCs that support periodic interrupts.
The periodic interrupt must be separately enabled or disabled using the
.BR RTC_PIE_ON ", " RTC_PIE_OFF
requests.
-The third \fBioctl\fP() argument is a
+The third \fBioctl\fP(2) argument is a
.I "unsigned long\ *"
or a
.IR "unsigned long" ,
@@ -198,17 +198,17 @@ capability) can set frequencies above the value specified in
.TP
.BR RTC_AIE_ON ", " RTC_AIE_OFF
Enable or disable the alarm interrupt, for RTCs that support alarms.
-The third \fBioctl\fP() argument is ignored.
+The third \fBioctl\fP(2) argument is ignored.
.TP
.BR RTC_UIE_ON ", " RTC_UIE_OFF
Enable or disable the interrupt on every clock update,
for RTCs that support this once-per-second interrupt.
-The third \fBioctl\fP() argument is ignored.
+The third \fBioctl\fP(2) argument is ignored.
.TP
.BR RTC_PIE_ON ", " RTC_PIE_OFF
Enable or disable the periodic interrupt,
for RTCs that support these periodic interrupts.
-The third \fBioctl\fP() argument is ignored.
+The third \fBioctl\fP(2) argument is ignored.
Only a privileged process (i.e., one having the
.B CAP_SYS_RESOURCE
capability) can enable the periodic interrupt if the frequency is
@@ -227,7 +227,7 @@ an RTC register for the year.
With some RTCs,
these operations can be used to read or to set the RTC's Epoch,
respectively.
-The third \fBioctl\fP() argument is a
+The third \fBioctl\fP(2) argument is a
.I "unsigned long\ *"
or a
.IR "unsigned long" ,
@@ -276,7 +276,7 @@ and
.IR tm_year
fields are also valid.
A pointer to this structure should be passed as the third
-.BR ioctl ()
+.BR ioctl (2)
argument.
.SH FILES
.IR /dev/rtc ", "