summary refs log tree commit diff
path: root/manual/time.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-12 23:36:42 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-12 23:36:42 +0000
commitd731df03bd12beb674e07696f8dbc57a60421879 (patch)
treeb6a66bb8aad315bec444c4830c6184b0be5177ef /manual/time.texi
parentc1b2d472805745304ea1aa634f02af8fe7c7c317 (diff)
downloadglibc-d731df03bd12beb674e07696f8dbc57a60421879.tar.gz
glibc-d731df03bd12beb674e07696f8dbc57a60421879.tar.xz
glibc-d731df03bd12beb674e07696f8dbc57a60421879.zip
Update.
1999-01-12  Ulrich Drepper  <drepper@cygnus.com>

	* manual/charset.texi: Add many corrections.
	Patch by Benjamin Kosnik <bkoz@cygnus.com>.
Diffstat (limited to 'manual/time.texi')
-rw-r--r--manual/time.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/manual/time.texi b/manual/time.texi
index 04258b77f7..1907819407 100644
--- a/manual/time.texi
+++ b/manual/time.texi
@@ -1858,7 +1858,7 @@ treated with care.
 This structure is used to control and monitor kernel time in a greater
 level of detail.  It contains the following members:
 @table @code
-@item unsigned int mode
+@item unsigned int modes
 This variable controls whether and which values are set.  Several
 symbolic constants have to be combined with @emph{binary or} to specify
 the effective mode.  These constants start with @code{MOD_}.
@@ -1866,7 +1866,7 @@ the effective mode.  These constants start with @code{MOD_}.
 @item long int offset
 This value indicates the current offset of the local clock from the true
 time.  The value is given in microseconds.  If bit @code{MOD_OFFSET} is
-set in @code{mode}, the offset (and possibly other dependent values) can
+set in @code{modes}, the offset (and possibly other dependent values) can
 be set.  The offset's absolute value must not exceed @code{MAXPHASE}.
 
 @item long int frequency
@@ -1946,7 +1946,9 @@ exceeded the threshold.
 @deftypefun int ntp_adjtime (struct timex *@var{tptr})
 The @code{ntp_adjtime} function sets the structure specified by
 @var{tptr} to current values.  In addition, values passed in @var{tptr}
-can be used to replace existing settings.
+can be used to replace existing settings.  To do this the @code{modes}
+element of the @code{struct timex} must be set appropriately.  Setting
+it to zero selects reading the current state.
 
 The return value is @code{0} on success and other values on failure.  The
 following @code{errno} error conditions are defined for this function: