rtime.3 (84306) | rtime.3 (108037) |
---|---|
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 84306 2001-10-01 16:09:29Z ru $ | 2.\" $FreeBSD: head/lib/libc/rpc/rtime.3 108037 2002-12-18 12:45:11Z 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 --- 4 unchanged lines hidden (view full) --- 15.In netinet/in.h 16.Ft int 17.Fo rtime 18.Fa "struct sockaddr_in *addrp" 19.Fa "struct timeval *timep" 20.Fa "struct timeval *timeout" 21.Fc 22.Sh DESCRIPTION | 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 --- 4 unchanged lines hidden (view full) --- 15.In netinet/in.h 16.Ft int 17.Fo rtime 18.Fa "struct sockaddr_in *addrp" 19.Fa "struct timeval *timep" 20.Fa "struct timeval *timeout" 21.Fc 22.Sh DESCRIPTION |
23The |
|
23.Fn rtime | 24.Fn rtime |
25function |
|
24consults the Internet Time Server at the address pointed to by 25.Fa addrp 26and returns the remote time in the 27.Vt timeval 28struct pointed to by 29.Fa timep . 30Normally, the 31.Tn UDP --- 17 unchanged lines hidden --- | 26consults the Internet Time Server at the address pointed to by 27.Fa addrp 28and returns the remote time in the 29.Vt timeval 30struct pointed to by 31.Fa timep . 32Normally, the 33.Tn UDP --- 17 unchanged lines hidden --- |