Document the recent trunk changes to ntp_gettime(2) (Hi Matthias!).
This commit is contained in:
parent
18e9385d27
commit
f3ef5715ba
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: ntp_adjtime.2,v 1.6 2003/04/16 13:34:55 wiz Exp $
|
||||
.\" $NetBSD: ntp_adjtime.2,v 1.7 2006/06/04 15:46:08 chap Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -44,6 +44,7 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.In sys/time.h
|
||||
.In sys/timex.h
|
||||
.Ft int
|
||||
.Fn ntp_adjtime "struct timex *"
|
||||
@ -245,9 +246,12 @@ has as argument a
|
||||
with the following members:
|
||||
.Bd -literal
|
||||
struct ntptimeval {
|
||||
struct timeval time; /* current time (ro) */
|
||||
struct timespec time; /* current time (ro) */
|
||||
long maxerror; /* maximum error (us) (ro) */
|
||||
long esterror; /* estimated error (us) (ro) */
|
||||
/* the following are placeholders for now */
|
||||
long tai; /* TAI offset */
|
||||
int time_state; /* time status */
|
||||
};
|
||||
.Ed
|
||||
.Pp
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: compat_30.8,v 1.1 2006/05/18 17:08:04 chap Exp $
|
||||
.\" $NetBSD: compat_30.8,v 1.2 2006/06/04 15:46:08 chap Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2006 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -64,7 +64,7 @@ A shadow directory under
|
||||
.Pa /emul
|
||||
is not used; the libraries can be obtained from a
|
||||
.Nx 3.0
|
||||
distribution and installed in the usual directories,
|
||||
distribution and installed in the original directories shown,
|
||||
as the major version number in the file name will prevent conflicts.
|
||||
If an upgrade installation from
|
||||
.Nx 3.0
|
||||
@ -114,6 +114,11 @@ argument structures were changed after the 3.0 release to accommodate
|
||||
.Xr getdents 2 ,
|
||||
.Xr lstat 2 ,
|
||||
.Xr stat 2 .
|
||||
The
|
||||
.Vt struct ntptimeval
|
||||
used by
|
||||
.Xr ntp_gettime 2
|
||||
changed with the implementation of timecounters.
|
||||
.Sh SEE ALSO
|
||||
.Xr config 1 ,
|
||||
.Xr fhstat 2 ,
|
||||
|
Loading…
Reference in New Issue
Block a user