diff options
Diffstat (limited to 'man4/rtc.4')
-rw-r--r-- | man4/rtc.4 | 24 |
1 files changed, 18 insertions, 6 deletions
@@ -166,7 +166,9 @@ 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(2) argument is a pointer to an +The third +.BR ioctl (2) +argument is a pointer to an .I rtc_time structure. Only the @@ -182,7 +184,9 @@ 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(2) argument is a +The third +.BR ioctl (2) +argument is a .I "unsigned long\ *" or a .IR "unsigned long" , @@ -198,17 +202,23 @@ 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(2) argument is ignored. +The third +.BR ioctl (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(2) argument is ignored. +The third +.BR ioctl (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(2) argument is ignored. +The third +.BR ioctl (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 +237,9 @@ 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(2) argument is a +The third +.BR ioctl (2) +argument is a .I "unsigned long\ *" or a .IR "unsigned long" , |