Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160318480
D57676.id180085.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1009 B
Referenced Files
None
Subscribers
None
D57676.id180085.diff
View Options
diff --git a/lib/libsys/adjtime.2 b/lib/libsys/adjtime.2
--- a/lib/libsys/adjtime.2
+++ b/lib/libsys/adjtime.2
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 13, 2021
+.Dd June 19, 2026
.Dt ADJTIME 2
.Os
.Sh NAME
@@ -46,6 +46,7 @@
advancing or retarding it
by the time specified by the timeval
.Fa delta .
+.Pp
If
.Fa delta
is negative, the clock is
@@ -55,6 +56,13 @@
.Fa delta
is positive, a larger increment than normal
is used.
+.Fa delta
+may also be a
+.Dv NULL
+pointer to fetch
+.Fa olddelta
+without making any adjustment.
+.Pp
The skew used to perform the correction is generally a fraction of one percent.
Thus, the time is always
a monotonically increasing function.
@@ -65,7 +73,9 @@
is called again.
If
.Fa olddelta
-is not a null pointer,
+is not a
+.Dv NULL
+pointer,
the structure pointed to will contain, upon return, the
number of microseconds still to be corrected
from the earlier call.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 24, 5:36 AM (10 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34124889
Default Alt Text
D57676.id180085.diff (1009 B)
Attached To
Mode
D57676: adjtime(2): document that delta can be NULL
Attached
Detach File
Event Timeline
Log In to Comment