/freebsd-9.3-release/tools/regression/priv/ |
H A D | priv_adjtime.c | 34 * 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 D | ptimes.c | 345 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 D | adjtime.c | 7 * 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 D | Makefile.am | 48 adjtime.c \
|
H A D | machines.c | 466 * Some broken systems don't reset adjtime() when the 470 adjtime(&adjtv, NULL);
|
H A D | systime.c | 64 * 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 D | Makefile.in | 147 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 D | testrs6000.c | 1 /* 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 D | ntp_unixtime.h | 16 # define ADJTIMEOFDAY(a, b) (adjtime(a, b))
|
H A D | Makefile.am | 6 adjtime.h \
|
H A D | l_stdlib.h | 32 extern int adjtime (struct timeval *, struct timeval *);
|
H A D | Makefile.in | 491 adjtime.h \
|
/freebsd-9.3-release/usr.sbin/timed/timed/ |
H A D | correct.c | 152 if (0 > adjtime(corr, 0)) { 153 syslog(LOG_ERR, "adjtime: %m");
|
H A D | slave.c | 61 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 D | timed.c | 244 (void)adjtime(&ntime, (struct timeval *)0);
|
/freebsd-9.3-release/usr.sbin/ntp/libntp/ |
H A D | Makefile | 12 NTP_SRCS= systime.c a_md5encrypt.c adjtime.c atoint.c \
|
/freebsd-9.3-release/sys/sys/ |
H A D | syscall.mk | 107 adjtime.o \
|
H A D | time.h | 352 int adjtime(const struct timeval *, struct timeval *);
|
/freebsd-9.3-release/lib/libc/sys/ |
H A D | Symbol.map | 44 adjtime;
|
/freebsd-9.3-release/contrib/ntp/parseutil/ |
H A D | dcfd.c | 973 if (adjtime(&time_offset, 0L) == -1) 974 perror("adjtime()");
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | sys-protos.h | 97 extern int adjtime(struct timeval *, struct timeval *);
|
/freebsd-9.3-release/contrib/openbsm/etc/ |
H A D | audit_event | 75 50:AUE_ADJTIME:adjtime(2):ad
|
/freebsd-9.3-release/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 1300 * the Unix adjtime() routine. We can technically adjust the clock 2043 if (adjtime(&adjtv, &oadjtv) < 0) {
|
/freebsd-9.3-release/contrib/ntp/ |
H A D | configure | 1811 --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...] |