Various small changes.

This commit is contained in:
Michael Kerrisk 2006-05-01 02:26:44 +00:00
parent 9fcfcba05f
commit 8888a90efe
1 changed files with 13 additions and 9 deletions

View File

@ -47,20 +47,23 @@ struct timeval {
.PP
If the adjustment in
.I delta
is positive, then the system clock is speeded up by adding a small
amount of time to the clock value in each second until the adjustment
is positive, then the system clock is speeded up by some
small percentage (i.e., by adding a small
amount of time to the clock value in each second) until the adjustment
has been completed.
If the adjustment in
.I delta
is negative, then the clock is slowed down in a similar fashion.
If an earlier clock adjustment is already in progress
at the time of the
If a clock adjustment from an earlier
.BR adjtime ()
call is already in progress
at the time of a later
.BR adjtime ()
call, and
.I delta
is not NULL, then the earlier adjustment is stopped,
but any already completed part of the adjustment is not undone.
is not NULL for the later call, then the earlier adjustment is stopped,
but any already completed part of that adjustment is not undone.
If
.I olddelta
@ -97,7 +100,9 @@ is set to indicate the error.
.SH ERRORS
.TP
.B EINVAL
The adjustment in delta is outside the permitted range.
The adjustment in
.I delta
is outside the permitted range.
.TP
.B EPERM
The caller does not have sufficient privilege to adjust the time.
@ -105,8 +110,7 @@ Under Linux the
.B CAP_SYS_TIME
capability is required.
.SH CONFORMING TO
4.3BSD.
.\" Also System V?
4.3BSD, System V.
.SH "SEE ALSO"
.BR adjtimex (2),
.BR gettimeofday (2),