summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/man4.atari/rtc.4 3.html
blob: 7eee236a46dd91aae9e4778c5ee09fa521fcdc9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<table class="head">
  <tr>
    <td class="head-ltitle">RTC(4)</td>
    <td class="head-vol">Device Drivers Manual (atari)</td>
    <td class="head-rtitle">RTC(4)</td>
  </tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">rtc</code> &#x2014; <span class="Nd">Atari Real
    Time Clock</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="Cd">clock0 at mainbus0</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">rtc</code> driver supports reading from and
    writing to the Atari real time clock (RTC). When reading from the RTC, the
    format string of the output, as described in the
    <a class="Xr">strftime(3)</a> manual page, is:</p>
<div class="Bd Pp Bd-indent Li">
<pre>``%Y%m%d%H%M.%S''</pre>
</div>
<p class="Pp">The same format is used to set the RTC to the current date. Note
    that the kernel expects the RTC to run in UTC.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
<dl class="Bl-tag Bl-compact">
  <dt><span class="Pa">/dev/rtc</span></dt>
  <dd style="width: auto;">&#x00A0;</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
<p class="Pp">date -u +%Y%m%d%H%M.%S &gt; /dev/rtc</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
  ALSO</a></h1>
<p class="Pp"><a class="Xr">date(1)</a>, <a class="Xr">strftime(3)</a></p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">November 21, 1999</td>
    <td class="foot-os">NetBSD 10.1</td>
  </tr>
</table>