summaryrefslogtreecommitdiffstats
path: root/man3/adjtime.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/adjtime.3')
-rw-r--r--man3/adjtime.321
1 files changed, 10 insertions, 11 deletions
diff --git a/man3/adjtime.3 b/man3/adjtime.3
index 1d9da6e..a6fcce5 100644
--- a/man3/adjtime.3
+++ b/man3/adjtime.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH adjtime 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH adjtime 3 2024-01-28 "Linux man-pages 6.7"
.SH NAME
adjtime \- correct the time to synchronize the system clock
.SH LIBRARY
@@ -12,15 +12,15 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <sys/time.h>
-.PP
+.P
.BI "int adjtime(const struct timeval *" delta ", struct timeval *" olddelta );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR adjtime ():
.nf
Since glibc 2.19:
@@ -37,7 +37,7 @@ The amount of time by which the clock is to be adjusted is specified
in the structure pointed to by
.IR delta .
This structure has the following form:
-.PP
+.P
.in +4n
.EX
struct timeval {
@@ -46,7 +46,7 @@ struct timeval {
};
.EE
.in
-.PP
+.P
If the adjustment in
.I delta
is positive, then the system clock is speeded up by some
@@ -56,7 +56,7 @@ has been completed.
If the adjustment in
.I delta
is negative, then the clock is slowed down in a similar fashion.
-.PP
+.P
If a clock adjustment from an earlier
.BR adjtime ()
call is already in progress
@@ -66,7 +66,7 @@ call, and
.I delta
is not NULL for the later call, then the earlier adjustment is stopped,
but any already completed part of that adjustment is not undone.
-.PP
+.P
If
.I olddelta
is not NULL, then the buffer that it points to is used to return
@@ -105,7 +105,6 @@ T{
.BR adjtime ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
None.
.SH HISTORY
@@ -117,11 +116,11 @@ makes to the clock is carried out in such a manner that the clock
is always monotonically increasing.
Using
.BR adjtime ()
-to adjust the time prevents the problems that can be caused for certain
+to adjust the time prevents the problems that could be caused for certain
applications (e.g.,
.BR make (1))
by abrupt positive or negative jumps in the system time.
-.PP
+.P
.BR adjtime ()
is intended to be used to make small adjustments to the system time.
Most systems impose a limit on the adjustment that can be specified in