From 46439007cf417cbd9ac8049bb4122c890097a0fa Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 20:52:35 +0000 Subject: 20060303-partial --- man/8/sntp | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 man/8/sntp (limited to 'man/8/sntp') diff --git a/man/8/sntp b/man/8/sntp new file mode 100644 index 00000000..be21fab9 --- /dev/null +++ b/man/8/sntp @@ -0,0 +1,41 @@ +.TH SNTP 8 +.SH NAME +sntp \- simple network time protocol client +.SH SYNOPSIS +.B ip/sntp +[ +.B -di +] +[ +.I server +] +.SH DESCRIPTION +.I Sntp +is a simple client for the Simple Network Time Protocol (RFC1361). +It requests the time from the SNTP service on +.I server +(default: +.BR udp!$ntp!ntp ), +and if it receives a plausible reply, +sets the local time accordingly, in both +.IR rtc (3) +and +.BR /dev/time . +The +.B -d +option prints debugging text, including the time received; +the +.B -i +option stops +.I sntp +from actually updating the local time. +.SH FILES +.B #r/rtc +.br +.B /dev/time +.SH SOURCE +.B /appl/cmd/ip/sntp.b +.SH SEE ALSO +.IR date (1), +.IR cons (3) + -- cgit v1.2.3