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

/macosx-10.10/crontabs-52/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...]
/macosx-10.10/ntp-92/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 Dsystime.c141 * Most Unix adjtime() implementations adjust the system clock
160 * adjtime() system call. Note we purposely lose the adjtime()
169 if (adjtime(&adjtv, &oadjtv) < 0) {
H A Dmachines.c470 * Some broken systems don't reset adjtime() when the
474 adjtime(&adjtv, NULL);
/macosx-10.10/ntp-92/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");
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/examples/ntp/
H A Drdate.tcl23 -a Use the adjtime(2) call to gradually skew the local time to the
/macosx-10.10/ntp-92/include/
H A Dl_stdlib.h36 extern int adjtime (struct timeval *, struct timeval *);
H A Dntp_unixtime.h17 # define ADJTIMEOFDAY(a, b) (adjtime(a, b))
/macosx-10.10/remote_cmds-47/timed.tproj/timed.tproj/
H A Dcorrect.c158 if (0 > adjtime(corr, 0)) {
159 syslog(LOG_ERR, "adjtime: %m");
H A Dslave.c72 long electiontime, refusetime, looktime, looptime, adjtime; local
94 adjtime = 0;
239 if (adjtime < otime.tv_sec)
250 adjtime = ntime.tv_sec + SAMPLEINTVL*2;
H A Dtimed.c250 (void)adjtime(&ntime, (struct timeval *)0);
/macosx-10.10/xnu-2782.1.97/bsd/man/man2/
H A DMakefile26 adjtime.2 \
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dtime.h185 int tickadj; /* clock skew rate for adjtime() */
227 int adjtime(const struct timeval *, struct timeval *);
/macosx-10.10/ntp-92/sntp/
H A Dsntp-opts.def104 flags-cant = adjtime;
111 name = adjtime;
114 descrip = "Set (slew) the time with adjtime()";
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_time.c208 adjtime(struct proc *p, struct adjtime_args *uap, __unused int32_t *retval) function
/macosx-10.10/ntp-92/ntpdate/
H A Dntpdate.c1273 * the Unix adjtime() routine. We can technically adjust the clock
2024 if (adjtime(&adjtv, &oadjtv) < 0) {

Completed in 244 milliseconds