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.315
1 files changed, 7 insertions, 8 deletions
diff --git a/man3/ntp_gettime.3 b/man3/ntp_gettime.3
index 30ec3ce..cb1f4f1 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 2023-07-20 "Linux man-pages 6.05.01"
+.TH ntp_gettime 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
ntp_gettime, ntp_gettimex \- get time parameters (NTP daemon interface)
.SH LIBRARY
@@ -12,7 +12,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <sys/timex.h>
-.PP
+.P
.BI "int ntp_gettime(struct ntptimeval *" ntv );
.BI "int ntp_gettimex(struct ntptimeval *" ntv );
.fi
@@ -20,7 +20,7 @@ Standard C library
Both of these APIs return information to the caller via the
.I ntv
argument, a structure of the following type:
-.PP
+.P
.in +4n
.EX
struct ntptimeval {
@@ -33,7 +33,7 @@ struct ntptimeval {
};
.EE
.in
-.PP
+.P
The fields of this structure are as follows:
.TP
.I time
@@ -69,7 +69,7 @@ This value is not used inside the kernel.
.TP
.I tai
TAI (Atomic International Time) offset.
-.PP
+.P
.BR ntp_gettime ()
returns an
.I ntptimeval
@@ -79,7 +79,7 @@ structure in which the
and
.I esterror
fields are filled in.
-.PP
+.P
.BR ntp_gettimex ()
performs the same task as
.BR ntp_gettime (),
@@ -110,7 +110,6 @@ T{
.BR ntp_gettimex ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
.TP
.BR ntp_gettime ()
@@ -129,7 +128,7 @@ glibc 2.12.
.BR adjtimex (2),
.BR ntp_adjtime (3),
.BR time (7)
-.PP
+.P
.ad l
.UR http://www.slac.stanford.edu/comp/unix/\:package/\:rtems/\:src/\:ssrlApps/\:ntpNanoclock/\:api.htm
NTP "Kernel Application Program Interface"