From fc4157daf55dc41131e71c6149fbdc4099cb9b57 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 7 Jan 1999 23:48:59 +0000 Subject: Update. * sysdeps/unix/sysv/linux/ntp_adjtime.c: Removed. It's an alias for adjtimex. * sysdeps/unix/sysv/linux/Dist: Add ntp_gettime.c. * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines): Remove ntp_adjtime. * sysdeps/unix/sysv/linux/syscalls.list: Add alias ntp_adjtime to adjtimex. * sysdeps/unix/sysv/linux/sys/timex.h: Correct prototype for ntp_adjtime. --- manual/time.texi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'manual/time.texi') diff --git a/manual/time.texi b/manual/time.texi index 7084e7f110..04258b77f7 100644 --- a/manual/time.texi +++ b/manual/time.texi @@ -1943,12 +1943,10 @@ exceeded the threshold. @comment sys/timex.h @comment GNU -@deftypefun int ntp_adjtime (int @var{mode}, struct timex *@var{tptr}) +@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. Therefore several magic -values can be passed in @var{mode}. Setting @var{mode} to zero only -reads the current state. +can be used to replace existing settings. The return value is @code{0} on success and other values on failure. The following @code{errno} error conditions are defined for this function: -- cgit 1.4.1