Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / ntp / html / driver33.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=iso8859-1">
4 <title>Dumb Clock</title>
5 </head>
6
7 <body>
8 <h3>Dumb Clock</h3>
9
10 <hr>
11 <h4>Synopsis</h4>
12 Address: 127.127.33.<i>u</i><br>
13 Reference ID: <TT>DUMBCLOCK</TT><br>
14 Driver ID: <tt>DUMBCLOCK</tt><br>
15 Serial Port: <tt>/dev/dumbclock<i>u</i></tt>; 9600 bps, 8-bits,
16 no parity<br>
17 <br>Features: <tt>(none)</tt>
18 <h4>Description</h4>
19 This driver supports a dumb ASCII clock that only emits localtime at a reliable
20 interval.  This has no provisions for leap seconds, quality codes,
21 etc.  It assumes output in the local time zone, and that the C library
22 mktime()/localtime() routines will correctly convert back and forth
23 between local and UTC.
24
25 <P>Most of this code is originally from refclock_wwvb.c with thanks. It
26 has been so mangled that wwvb is not a recognizable ancestor.
27 <pre>
28 Timecode format: hh:mm:ssCL
29 hh:mm:ss - local time
30 C - \r (carriage return)
31 L - \n (newline)
32 </pre>
33 <hr>
34 <address></address>
35 <!-- hhmts start -->
36 Last modified: Sun Feb 14 12:07:01 EST 1999
37 <!-- hhmts end -->
38 </body> </html>