xref: /inferno-os/man/8/sntp (revision 46439007cf417cbd9ac8049bb4122c890097a0fa)
SNTP 8
NAME
sntp - simple network time protocol client
SYNOPSIS
ip/sntp [ -di ] [ server ]
DESCRIPTION
Sntp is a simple client for the Simple Network Time Protocol (RFC1361). It requests the time from the SNTP service on server (default: udp!$ntp!ntp ), and if it receives a plausible reply, sets the local time accordingly, in both rtc (3) and /dev/time . The -d option prints debugging text, including the time received; the -i option stops sntp from actually updating the local time.
FILES
#r/rtc

/dev/time

SOURCE
/appl/cmd/ip/sntp.b
SEE ALSO
date (1), cons (3)