rtime.3 (108037) | rtime.3 (108087) |
---|---|
1.\" @(#)rtime.3n 2.1 88/08/08 4.0 RPCSRC; from 1.5 88/02/08 SMI | 1.\" @(#)rtime.3n 2.1 88/08/08 4.0 RPCSRC; from 1.5 88/02/08 SMI |
2.\" $FreeBSD: head/lib/libc/rpc/rtime.3 108037 2002-12-18 12:45:11Z ru $ | 2.\" $FreeBSD: head/lib/libc/rpc/rtime.3 108087 2002-12-19 09:40:28Z ru $ |
3.\" 4.Dd November 22, 1987 5.Dt RTIME 3 6.Os 7.Sh NAME 8.Nm rtime 9.Nd "get remote time" 10.Sh LIBRARY --- 18 unchanged lines hidden (view full) --- 29.Vt timeval 30struct pointed to by 31.Fa timep . 32Normally, the 33.Tn UDP 34protocol is used when consulting the Time Server. 35The 36.Fa timeout | 3.\" 4.Dd November 22, 1987 5.Dt RTIME 3 6.Os 7.Sh NAME 8.Nm rtime 9.Nd "get remote time" 10.Sh LIBRARY --- 18 unchanged lines hidden (view full) --- 29.Vt timeval 30struct pointed to by 31.Fa timep . 32Normally, the 33.Tn UDP 34protocol is used when consulting the Time Server. 35The 36.Fa timeout |
37parameter specifies how long the | 37argument specifies how long the |
38routine should wait before giving 39up when waiting for a reply. 40If 41.Fa timeout 42is specified as 43.Dv NULL , 44however, the routine will instead use 45.Tn TCP 46and block until a reply is received from the time server. 47.Sh RETURN VALUES 48.Rv -std rtime 49.Sh SEE ALSO 50.Xr timed 8 | 38routine should wait before giving 39up when waiting for a reply. 40If 41.Fa timeout 42is specified as 43.Dv NULL , 44however, the routine will instead use 45.Tn TCP 46and block until a reply is received from the time server. 47.Sh RETURN VALUES 48.Rv -std rtime 49.Sh SEE ALSO 50.Xr timed 8 |