| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:40+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "rtc" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "rtc - real-time clock" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "SYNOPSIS" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 61 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
#, no-wrap |
| 63 |
msgid "#include E<lt>linux/rtc.hE<gt>\n" |
| 64 |
msgstr "" |
| 65 |
|
| 66 |
#. type: Plain text |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "B<int ioctl(>I<fd>B<, RTC_>I<request>B<, >I<param>B<);>\n" |
| 71 |
msgstr "" |
| 72 |
|
| 73 |
#. type: SH |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "DESCRIPTION" |
| 78 |
msgstr "" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
msgid "This is the interface to drivers for real-time clocks (RTCs)." |
| 84 |
msgstr "" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
msgid "" |
| 90 |
"Most computers have one or more hardware clocks which record the current " |
| 91 |
"\"wall clock\" time. These are called \"Real Time Clocks\" (RTCs). One of " |
| 92 |
"these usually has battery backup power so that it tracks the time even while " |
| 93 |
"the computer is turned off. RTCs often provide alarms and other interrupts." |
| 94 |
msgstr "" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "" |
| 100 |
"All i386 PCs, and ACPI-based systems, have an RTC that is compatible with " |
| 101 |
"the Motorola MC146818 chip on the original PC/AT. Today such an RTC is " |
| 102 |
"usually integrated into the mainboard's chipset (south bridge), and uses a " |
| 103 |
"replaceable coin-sized backup battery." |
| 104 |
msgstr "" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
msgid "" |
| 110 |
"Non-PC systems, such as embedded systems built around system-on-chip " |
| 111 |
"processors, use other implementations. They usually won't offer the same " |
| 112 |
"functionality as the RTC from a PC/AT." |
| 113 |
msgstr "" |
| 114 |
|
| 115 |
#. type: SS |
| 116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 118 |
#, no-wrap |
| 119 |
msgid "RTC vs system clock" |
| 120 |
msgstr "" |
| 121 |
|
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
msgid "" |
| 126 |
"RTCs should not be confused with the system clock, which is a software clock " |
| 127 |
"maintained by the kernel and used to implement B<gettimeofday>(2) and " |
| 128 |
"B<time>(2), as well as setting timestamps on files, and so on. The system " |
| 129 |
"clock reports seconds and microseconds since a start point, defined to be " |
| 130 |
"the POSIX Epoch: 1970-01-01 00:00:00 +0000 (UTC). (One common " |
| 131 |
"implementation counts timer interrupts, once per \"jiffy\", at a frequency " |
| 132 |
"of 100, 250, or 1000 Hz.) That is, it is supposed to report wall clock " |
| 133 |
"time, which RTCs also do." |
| 134 |
msgstr "" |
| 135 |
|
| 136 |
#. type: Plain text |
| 137 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 138 |
#: opensuse-tumbleweed |
| 139 |
msgid "" |
| 140 |
"A key difference between an RTC and the system clock is that RTCs run even " |
| 141 |
"when the system is in a low power state (including \"off\"), and the system " |
| 142 |
"clock can't. Until it is initialized, the system clock can only report time " |
| 143 |
"since system boot, not since the POSIX Epoch. So at boot time, and after " |
| 144 |
"resuming from a system low power state, the system clock will often be set " |
| 145 |
"to the current wall clock time using an RTC. Systems without an RTC need to " |
| 146 |
"set the system clock using another clock, maybe across the network or by " |
| 147 |
"entering that data manually." |
| 148 |
msgstr "" |
| 149 |
|
| 150 |
#. type: SS |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
#, no-wrap |
| 154 |
msgid "RTC functionality" |
| 155 |
msgstr "" |
| 156 |
|
| 157 |
#. type: Plain text |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
msgid "" |
| 161 |
"RTCs can be read and written with B<hwclock>(8), or directly with the " |
| 162 |
"B<ioctl>(2) requests listed below." |
| 163 |
msgstr "" |
| 164 |
|
| 165 |
#. type: Plain text |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
msgid "" |
| 169 |
"Besides tracking the date and time, many RTCs can also generate interrupts" |
| 170 |
msgstr "" |
| 171 |
|
| 172 |
#. type: IP |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
#, no-wrap |
| 176 |
msgid "\\[bu]" |
| 177 |
msgstr "" |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
msgid "on every clock update (i.e., once per second);" |
| 183 |
msgstr "" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
msgid "" |
| 189 |
"at periodic intervals with a frequency that can be set to any power-of-2 " |
| 190 |
"multiple in the range 2 Hz to 8192 Hz;" |
| 191 |
msgstr "" |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "on reaching a previously specified alarm time." |
| 197 |
msgstr "" |
| 198 |
|
| 199 |
#. type: Plain text |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
msgid "" |
| 203 |
"Each of those interrupt sources can be enabled or disabled separately. On " |
| 204 |
"many systems, the alarm interrupt can be configured as a system wakeup " |
| 205 |
"event, which can resume the system from a low power state such as Suspend-to-" |
| 206 |
"RAM (STR, called S3 in ACPI systems), Hibernation (called S4 in ACPI " |
| 207 |
"systems), or even \"off\" (called S5 in ACPI systems). On some systems, the " |
| 208 |
"battery backed RTC can't issue interrupts, but another one can." |
| 209 |
msgstr "" |
| 210 |
|
| 211 |
#. type: Plain text |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
msgid "" |
| 215 |
"The I</dev/rtc> (or I</dev/rtc0>, I</dev/rtc1>, etc.) device can be opened " |
| 216 |
"only once (until it is closed) and it is read-only. On B<read>(2) and " |
| 217 |
"B<select>(2) the calling process is blocked until the next interrupt from " |
| 218 |
"that RTC is received. Following the interrupt, the process can read a long " |
| 219 |
"integer, of which the least significant byte contains a bit mask encoding " |
| 220 |
"the types of interrupt that occurred, while the remaining 3 bytes contain " |
| 221 |
"the number of interrupts since the last B<read>(2)." |
| 222 |
msgstr "" |
| 223 |
|
| 224 |
#. type: SS |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
#, no-wrap |
| 228 |
msgid "ioctl(2) interface" |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: Plain text |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
msgid "" |
| 235 |
"The following B<ioctl>(2) requests are defined on file descriptors " |
| 236 |
"connected to RTC devices:" |
| 237 |
msgstr "" |
| 238 |
|
| 239 |
#. type: TP |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
#, no-wrap |
| 243 |
msgid "B<RTC_RD_TIME>" |
| 244 |
msgstr "" |
| 245 |
|
| 246 |
#. type: Plain text |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
msgid "Returns this RTC's time in the following structure:" |
| 250 |
msgstr "" |
| 251 |
|
| 252 |
#. type: Plain text |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
#, no-wrap |
| 256 |
msgid "" |
| 257 |
"struct rtc_time {\n" |
| 258 |
" int tm_sec;\n" |
| 259 |
" int tm_min;\n" |
| 260 |
" int tm_hour;\n" |
| 261 |
" int tm_mday;\n" |
| 262 |
" int tm_mon;\n" |
| 263 |
" int tm_year;\n" |
| 264 |
" int tm_wday; /* unused */\n" |
| 265 |
" int tm_yday; /* unused */\n" |
| 266 |
" int tm_isdst; /* unused */\n" |
| 267 |
"};\n" |
| 268 |
msgstr "" |
| 269 |
|
| 270 |
#. type: Plain text |
| 271 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 272 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 273 |
msgid "" |
| 274 |
"The fields in this structure have the same meaning and ranges as for the " |
| 275 |
"I<tm> structure described in B<gmtime>(3). A pointer to this structure " |
| 276 |
"should be passed as the third B<ioctl>(2) argument." |
| 277 |
msgstr "" |
| 278 |
|
| 279 |
#. type: TP |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
#, no-wrap |
| 283 |
msgid "B<RTC_SET_TIME>" |
| 284 |
msgstr "" |
| 285 |
|
| 286 |
#. type: Plain text |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
msgid "" |
| 290 |
"Sets this RTC's time to the time specified by the I<rtc_time> structure " |
| 291 |
"pointed to by the third B<ioctl>(2) argument. To set the RTC's time the " |
| 292 |
"process must be privileged (i.e., have the B<CAP_SYS_TIME> capability)." |
| 293 |
msgstr "" |
| 294 |
|
| 295 |
#. type: TP |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
#, no-wrap |
| 299 |
msgid "B<RTC_ALM_READ>" |
| 300 |
msgstr "" |
| 301 |
|
| 302 |
#. type: TQ |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
#, no-wrap |
| 306 |
msgid "B<RTC_ALM_SET>" |
| 307 |
msgstr "" |
| 308 |
|
| 309 |
#. type: Plain text |
| 310 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 311 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 312 |
msgid "" |
| 313 |
"Read and set the alarm time, for RTCs that support alarms. The alarm " |
| 314 |
"interrupt must be separately enabled or disabled using the B<RTC_AIE_ON>, " |
| 315 |
"B<RTC_AIE_OFF> requests. The third B<ioctl>(2) argument is a pointer to an " |
| 316 |
"I<rtc_time> structure. Only the I<tm_sec>, I<tm_min>, and I<tm_hour> fields " |
| 317 |
"of this structure are used." |
| 318 |
msgstr "" |
| 319 |
|
| 320 |
#. type: TP |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
#, no-wrap |
| 324 |
msgid "B<RTC_IRQP_READ>" |
| 325 |
msgstr "" |
| 326 |
|
| 327 |
#. type: TQ |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
#, no-wrap |
| 331 |
msgid "B<RTC_IRQP_SET>" |
| 332 |
msgstr "" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "" |
| 338 |
"Read and set the frequency for periodic interrupts, for RTCs that support " |
| 339 |
"periodic interrupts. The periodic interrupt must be separately enabled or " |
| 340 |
"disabled using the B<RTC_PIE_ON>, B<RTC_PIE_OFF> requests. The third " |
| 341 |
"B<ioctl>(2) argument is an I<unsigned long\\ *> or an I<unsigned long>, " |
| 342 |
"respectively. The value is the frequency in interrupts per second. The set " |
| 343 |
"of allowable frequencies is the multiples of two in the range 2 to 8192. " |
| 344 |
"Only a privileged process (i.e., one having the B<CAP_SYS_RESOURCE> " |
| 345 |
"capability) can set frequencies above the value specified in I</proc/sys/dev/" |
| 346 |
"rtc/max-user-freq>. (This file contains the value 64 by default.)" |
| 347 |
msgstr "" |
| 348 |
|
| 349 |
#. type: TP |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
#, no-wrap |
| 353 |
msgid "B<RTC_AIE_ON>" |
| 354 |
msgstr "" |
| 355 |
|
| 356 |
#. type: TQ |
| 357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 359 |
#, no-wrap |
| 360 |
msgid "B<RTC_AIE_OFF>" |
| 361 |
msgstr "" |
| 362 |
|
| 363 |
#. type: Plain text |
| 364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 366 |
msgid "" |
| 367 |
"Enable or disable the alarm interrupt, for RTCs that support alarms. The " |
| 368 |
"third B<ioctl>(2) argument is ignored." |
| 369 |
msgstr "" |
| 370 |
|
| 371 |
#. type: TP |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
#, no-wrap |
| 375 |
msgid "B<RTC_UIE_ON>" |
| 376 |
msgstr "" |
| 377 |
|
| 378 |
#. type: TQ |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
#, no-wrap |
| 382 |
msgid "B<RTC_UIE_OFF>" |
| 383 |
msgstr "" |
| 384 |
|
| 385 |
#. type: Plain text |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
msgid "" |
| 389 |
"Enable or disable the interrupt on every clock update, for RTCs that support " |
| 390 |
"this once-per-second interrupt. The third B<ioctl>(2) argument is ignored." |
| 391 |
msgstr "" |
| 392 |
|
| 393 |
#. type: TP |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
#, no-wrap |
| 397 |
msgid "B<RTC_PIE_ON>" |
| 398 |
msgstr "" |
| 399 |
|
| 400 |
#. type: TQ |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
#, no-wrap |
| 404 |
msgid "B<RTC_PIE_OFF>" |
| 405 |
msgstr "" |
| 406 |
|
| 407 |
#. type: Plain text |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
msgid "" |
| 411 |
"Enable or disable the periodic interrupt, for RTCs that support these " |
| 412 |
"periodic interrupts. The third B<ioctl>(2) argument is ignored. Only a " |
| 413 |
"privileged process (i.e., one having the B<CAP_SYS_RESOURCE> capability) can " |
| 414 |
"enable the periodic interrupt if the frequency is currently set above the " |
| 415 |
"value specified in I</proc/sys/dev/rtc/max-user-freq>." |
| 416 |
msgstr "" |
| 417 |
|
| 418 |
#. type: TP |
| 419 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 420 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 421 |
#, no-wrap |
| 422 |
msgid "B<RTC_EPOCH_READ>" |
| 423 |
msgstr "" |
| 424 |
|
| 425 |
#. type: TQ |
| 426 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 427 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 428 |
#, no-wrap |
| 429 |
msgid "B<RTC_EPOCH_SET>" |
| 430 |
msgstr "" |
| 431 |
|
| 432 |
#. type: Plain text |
| 433 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 434 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 435 |
msgid "" |
| 436 |
"Many RTCs encode the year in an 8-bit register which is either interpreted " |
| 437 |
"as an 8-bit binary number or as a BCD number. In both cases, the number is " |
| 438 |
"interpreted relative to this RTC's Epoch. The RTC's Epoch is initialized to " |
| 439 |
"1900 on most systems but on Alpha and MIPS it might also be initialized to " |
| 440 |
"1952, 1980, or 2000, depending on the value of an RTC register for the " |
| 441 |
"year. With some RTCs, these operations can be used to read or to set the " |
| 442 |
"RTC's Epoch, respectively. The third B<ioctl>(2) argument is an I<unsigned " |
| 443 |
"long\\ *> or an I<unsigned long>, respectively, and the value returned (or " |
| 444 |
"assigned) is the Epoch. To set the RTC's Epoch the process must be " |
| 445 |
"privileged (i.e., have the B<CAP_SYS_TIME> capability)." |
| 446 |
msgstr "" |
| 447 |
|
| 448 |
#. type: TP |
| 449 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 450 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 451 |
#, no-wrap |
| 452 |
msgid "B<RTC_WKALM_RD>" |
| 453 |
msgstr "" |
| 454 |
|
| 455 |
#. type: TQ |
| 456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
#, no-wrap |
| 459 |
msgid "B<RTC_WKALM_SET>" |
| 460 |
msgstr "" |
| 461 |
|
| 462 |
#. type: Plain text |
| 463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 465 |
msgid "" |
| 466 |
"Some RTCs support a more powerful alarm interface, using these ioctls to " |
| 467 |
"read or write the RTC's alarm time (respectively) with this structure:" |
| 468 |
msgstr "" |
| 469 |
|
| 470 |
#. type: Plain text |
| 471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 473 |
#, no-wrap |
| 474 |
msgid "" |
| 475 |
"struct rtc_wkalrm {\n" |
| 476 |
" unsigned char enabled;\n" |
| 477 |
" unsigned char pending;\n" |
| 478 |
" struct rtc_time time;\n" |
| 479 |
"};\n" |
| 480 |
msgstr "" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
msgid "" |
| 486 |
"The I<enabled> flag is used to enable or disable the alarm interrupt, or to " |
| 487 |
"read its current status; when using these calls, B<RTC_AIE_ON> and " |
| 488 |
"B<RTC_AIE_OFF> are not used. The I<pending> flag is used by B<RTC_WKALM_RD> " |
| 489 |
"to report a pending interrupt (so it's mostly useless on Linux, except when " |
| 490 |
"talking to the RTC managed by EFI firmware). The I<time> field is as used " |
| 491 |
"with B<RTC_ALM_READ> and B<RTC_ALM_SET> except that the I<tm_mday>, " |
| 492 |
"I<tm_mon>, and I<tm_year> fields are also valid. A pointer to this " |
| 493 |
"structure should be passed as the third B<ioctl>(2) argument." |
| 494 |
msgstr "" |
| 495 |
|
| 496 |
#. type: SH |
| 497 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 498 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 499 |
#, no-wrap |
| 500 |
msgid "FILES" |
| 501 |
msgstr "" |
| 502 |
|
| 503 |
#. type: TP |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
#, no-wrap |
| 507 |
msgid "I</dev/rtc>" |
| 508 |
msgstr "" |
| 509 |
|
| 510 |
#. type: TQ |
| 511 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 512 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 513 |
#, no-wrap |
| 514 |
msgid "I</dev/rtc0>" |
| 515 |
msgstr "" |
| 516 |
|
| 517 |
#. type: TQ |
| 518 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 519 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 520 |
#, no-wrap |
| 521 |
msgid "I</dev/rtc1>" |
| 522 |
msgstr "" |
| 523 |
|
| 524 |
#. type: TQ |
| 525 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 526 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 527 |
#, no-wrap |
| 528 |
msgid "\\&.\\|.\\|." |
| 529 |
msgstr "" |
| 530 |
|
| 531 |
#. type: Plain text |
| 532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
msgid "RTC special character device files." |
| 535 |
msgstr "" |
| 536 |
|
| 537 |
#. type: TP |
| 538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
#, no-wrap |
| 541 |
msgid "I</proc/driver/rtc>" |
| 542 |
msgstr "" |
| 543 |
|
| 544 |
#. type: Plain text |
| 545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 547 |
msgid "status of the (first) RTC." |
| 548 |
msgstr "" |
| 549 |
|
| 550 |
#. type: SH |
| 551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 553 |
#, no-wrap |
| 554 |
msgid "NOTES" |
| 555 |
msgstr "" |
| 556 |
|
| 557 |
#. type: Plain text |
| 558 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 559 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 560 |
msgid "" |
| 561 |
"When the kernel's system time is synchronized with an external reference " |
| 562 |
"using B<adjtimex>(2) it will update a designated RTC periodically every 11 " |
| 563 |
"minutes. To do so, the kernel has to briefly turn off periodic interrupts; " |
| 564 |
"this might affect programs using that RTC." |
| 565 |
msgstr "" |
| 566 |
|
| 567 |
#. type: Plain text |
| 568 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 569 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 570 |
msgid "" |
| 571 |
"An RTC's Epoch has nothing to do with the POSIX Epoch which is used only for " |
| 572 |
"the system clock." |
| 573 |
msgstr "" |
| 574 |
|
| 575 |
#. type: Plain text |
| 576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 578 |
msgid "" |
| 579 |
"If the year according to the RTC's Epoch and the year register is less than " |
| 580 |
"1970 it is assumed to be 100 years later, that is, between 2000 and 2069." |
| 581 |
msgstr "" |
| 582 |
|
| 583 |
#. type: Plain text |
| 584 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 585 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 586 |
msgid "" |
| 587 |
"Some RTCs support \"wildcard\" values in alarm fields, to support scenarios " |
| 588 |
"like periodic alarms at fifteen minutes after every hour, or on the first " |
| 589 |
"day of each month. Such usage is nonportable; portable user-space code " |
| 590 |
"expects only a single alarm interrupt, and will either disable or " |
| 591 |
"reinitialize the alarm after receiving it." |
| 592 |
msgstr "" |
| 593 |
|
| 594 |
#. type: Plain text |
| 595 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 596 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 597 |
msgid "" |
| 598 |
"Some RTCs support periodic interrupts with periods that are multiples of a " |
| 599 |
"second rather than fractions of a second; multiple alarms; programmable " |
| 600 |
"output clock signals; nonvolatile memory; and other hardware capabilities " |
| 601 |
"that are not currently exposed by this API." |
| 602 |
msgstr "" |
| 603 |
|
| 604 |
#. type: SH |
| 605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 607 |
#, no-wrap |
| 608 |
msgid "SEE ALSO" |
| 609 |
msgstr "" |
| 610 |
|
| 611 |
#. type: Plain text |
| 612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 614 |
msgid "" |
| 615 |
"B<date>(1), B<adjtimex>(2), B<gettimeofday>(2), B<settimeofday>(2), " |
| 616 |
"B<stime>(2), B<time>(2), B<gmtime>(3), B<time>(7), B<hwclock>(8)" |
| 617 |
msgstr "" |
| 618 |
|
| 619 |
#. type: Plain text |
| 620 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 621 |
#: opensuse-tumbleweed |
| 622 |
msgid "I<Documentation/rtc.rst> in the Linux kernel source tree" |
| 623 |
msgstr "" |
| 624 |
|
| 625 |
#. type: TH |
| 626 |
#: debian-trixie fedora-44 fedora-rawhide |
| 627 |
#, no-wrap |
| 628 |
msgid "2024-05-02" |
| 629 |
msgstr "" |
| 630 |
|
| 631 |
#. type: TH |
| 632 |
#: debian-trixie |
| 633 |
#, no-wrap |
| 634 |
msgid "Linux man-pages 6.9.1" |
| 635 |
msgstr "" |
| 636 |
|
| 637 |
#. type: Plain text |
| 638 |
#: debian-trixie fedora-44 fedora-rawhide |
| 639 |
msgid "" |
| 640 |
"A key difference between an RTC and the system clock is that RTCs run even " |
| 641 |
"when the system is in a low power state (including \"off\"), and the system " |
| 642 |
"clock can't. Until it is initialized, the system clock can only report time " |
| 643 |
"since system boot ... not since the POSIX Epoch. So at boot time, and after " |
| 644 |
"resuming from a system low power state, the system clock will often be set " |
| 645 |
"to the current wall clock time using an RTC. Systems without an RTC need to " |
| 646 |
"set the system clock using another clock, maybe across the network or by " |
| 647 |
"entering that data manually." |
| 648 |
msgstr "" |
| 649 |
|
| 650 |
#. type: Plain text |
| 651 |
#: debian-trixie fedora-44 fedora-rawhide |
| 652 |
msgid "I<Documentation/rtc.txt> in the Linux kernel source tree" |
| 653 |
msgstr "" |
| 654 |
|
| 655 |
#. type: TH |
| 656 |
#: fedora-44 fedora-rawhide |
| 657 |
#, no-wrap |
| 658 |
msgid "Linux man-pages 6.13" |
| 659 |
msgstr "" |
| 660 |
|
| 661 |
#. type: TH |
| 662 |
#: mageia-cauldron |
| 663 |
#, no-wrap |
| 664 |
msgid "Linux man-pages 6.17" |
| 665 |
msgstr "" |
| 666 |
|
| 667 |
#. type: TH |
| 668 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 669 |
#, no-wrap |
| 670 |
msgid "Linux man-pages (unreleased)" |
| 671 |
msgstr "" |