summaryrefslogtreecommitdiffstats
path: root/man3/ntp_gettime.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/ntp_gettime.3')
-rw-r--r--man3/ntp_gettime.330
1 files changed, 15 insertions, 15 deletions
diff --git a/man3/ntp_gettime.3 b/man3/ntp_gettime.3
index 488d16472..30ec3ce6c 100644
--- a/man3/ntp_gettime.3
+++ b/man3/ntp_gettime.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH ntp_gettime 3 2022-12-15 "Linux man-pages 6.03"
+.TH ntp_gettime 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
ntp_gettime, ntp_gettimex \- get time parameters (NTP daemon interface)
.SH LIBRARY
@@ -28,7 +28,7 @@ struct ntptimeval {
long maxerror; /* Maximum error */
long esterror; /* Estimated error */
long tai; /* TAI offset */
-
+\&
/* Further padding bytes allowing for future expansion */
};
.EE
@@ -95,36 +95,36 @@ are as for
.BR adjtimex (2).
Given a correct pointer argument, these functions always succeed.
.\" FIXME . the info page incorrectly describes the return values.
-.SH VERSIONS
-The
-.BR ntp_gettime ()
-function is available since glibc 2.1.
-The
-.BR ntp_gettimex ()
-function is available since glibc 2.12.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR ntp_gettime (),
.BR ntp_gettimex ()
T} Thread safety MT-Safe
.TE
-.hy
-.ad
.sp 1
.SH STANDARDS
+.TP
.BR ntp_gettime ()
-is described in the NTP Kernel Application Program Interface.
+NTP Kernel Application Program Interface.
+.TP
+.BR ntp_gettimex ()
+GNU.
+.SH HISTORY
+.TP
+.BR ntp_gettime ()
+glibc 2.1.
+.TP
.BR ntp_gettimex ()
-is a GNU extension.
+glibc 2.12.
.SH SEE ALSO
.BR adjtimex (2),
.BR ntp_adjtime (3),