Searched refs:adjtime (Results 1 - 24 of 24) sorted by relevance

/freebsd-9.3-release/tools/regression/priv/
H A Dpriv_adjtime.c34 * Confirm that privilege is required to invoke adjtime(); first query, then
56 if (adjtime(NULL, &query_tv) < 0) {
57 warn("priv_adjtime_setup: adjtime(NULL)");
69 error = adjtime(&query_tv, NULL);
/freebsd-9.3-release/usr.sbin/newsyslog/
H A Dptimes.c345 struct ptime_data adjtime; local
354 adjtime = *ptime;
357 if ((adjtime.did_adj4dst != TNYET_ADJ4DST) &&
358 (adjtime.did_adj4dst == dstsrc->tm.tm_isdst))
362 if (dstsrc->tm.tm_isdst != adjtime.tm.tm_isdst) {
363 if (adjtime.tm.tm_isdst == 1)
364 adjtime.tsecs -= SECS_PER_HOUR;
365 else if (adjtime.tm.tm_isdst == 0)
366 adjtime.tsecs += SECS_PER_HOUR;
367 adjtime
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dadjtime.c7 * MPE lacks adjtime(), so we define our own. But note that time slewing has
9 * from being able to maintain clock synch. Because of the bug, this adjtime()
24 int adjtime(struct timeval *delta, struct timeval *olddelta);
26 int adjtime(struct timeval *delta, struct timeval *olddelta) function
126 static char RCSid[] = "adjtime.c,v 3.1 1993/07/06 01:04:42 jbj Exp";
134 #include "adjtime.h"
159 * adjtime - hp-ux copout of the standard Unix adjtime() system call
162 adjtime( function
220 * Get the key to the adjtime messag
279 adjtime (struct timeval *delta, struct timeval *olddelta) function
[all...]
H A DMakefile.am48 adjtime.c \
H A Dmachines.c466 * Some broken systems don't reset adjtime() when the
470 adjtime(&adjtv, NULL);
H A Dsystime.c64 * loop discipline unavailable or disabled), adjtime() offsets are
67 * are quantized to the microsecond resolution of adjtime()'s timeval
69 * next adjtime() and meanwhile is also factored into get_systime()
294 * emulation of adjtime() behavior on top of an API that simply
297 * EVNT_NSET adjtime() can be aborted by a tiny adjtime()
309 * Most Unix adjtime() implementations adjust the system clock
341 * adjtime() system call. Note we purposely lose the adjtime()
350 if (adjtime(
[all...]
H A DMakefile.in147 am__libntp_a_SOURCES_DIST = systime.c a_md5encrypt.c adjtime.c \
201 am__objects_4 = a_md5encrypt.$(OBJEXT) adjtime.$(OBJEXT) \
231 am__libntpsim_a_SOURCES_DIST = systime_s.c a_md5encrypt.c adjtime.c \
641 adjtime.c \
775 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/adjtime.Po@am__quote@
/freebsd-9.3-release/contrib/ntp/util/
H A Dtestrs6000.c1 /* Checks for the RS/6000 AIX adjtime() bug, in which if a negative
6 * slew from adjtime()).
49 if (adjtime(&adjustment, &result))
50 printf("adjtime call failed\n");
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp_unixtime.h16 # define ADJTIMEOFDAY(a, b) (adjtime(a, b))
H A DMakefile.am6 adjtime.h \
H A Dl_stdlib.h32 extern int adjtime (struct timeval *, struct timeval *);
H A DMakefile.in491 adjtime.h \
/freebsd-9.3-release/usr.sbin/timed/timed/
H A Dcorrect.c152 if (0 > adjtime(corr, 0)) {
153 syslog(LOG_ERR, "adjtime: %m");
H A Dslave.c61 long electiontime, refusetime, looktime, looptime, adjtime; local
84 adjtime = 0;
229 if (adjtime < otime.tv_sec)
240 adjtime = ntime.tv_sec + SAMPLEINTVL*2;
H A Dtimed.c244 (void)adjtime(&ntime, (struct timeval *)0);
/freebsd-9.3-release/usr.sbin/ntp/libntp/
H A DMakefile12 NTP_SRCS= systime.c a_md5encrypt.c adjtime.c atoint.c \
/freebsd-9.3-release/sys/sys/
H A Dsyscall.mk107 adjtime.o \
H A Dtime.h352 int adjtime(const struct timeval *, struct timeval *);
/freebsd-9.3-release/lib/libc/sys/
H A DSymbol.map44 adjtime;
/freebsd-9.3-release/contrib/ntp/parseutil/
H A Ddcfd.c973 if (adjtime(&time_offset, 0L) == -1)
974 perror("adjtime()");
/freebsd-9.3-release/contrib/gcc/
H A Dsys-protos.h97 extern int adjtime(struct timeval *, struct timeval *);
/freebsd-9.3-release/contrib/openbsm/etc/
H A Daudit_event75 50:AUE_ADJTIME:adjtime(2):ad
/freebsd-9.3-release/contrib/ntp/ntpdate/
H A Dntpdate.c1300 * the Unix adjtime() routine. We can technically adjust the clock
2043 if (adjtime(&adjtv, &oadjtv) < 0) {
/freebsd-9.3-release/contrib/ntp/
H A Dconfigure1811 --enable-accurate-adjtime
1812 s the adjtime() call is accurate
34758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want QNX adjtime support" >&5
34759 $as_echo_n "checking if we want QNX adjtime support... " >&6; }
34834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if adjtime is accurate" >&5
34835 $as_echo_n "checking if adjtime is accurate... " >&6; }
34872 # --enable-accurate-adjtime / --disable-accurate-adjtime
34874 # Check whether --enable-accurate-adjtime was given.
35318 # Newer versions of ReliantUNIX round adjtime() value
[all...]

Completed in 193 milliseconds