Lines Matching refs:next_leap
56 time_t next_leap; variable
138 if (tx.time.tv_sec < next_leap) { in sigalarm()
139 printf("Error: Early timer expiration! (Should be %ld)\n", next_leap); in sigalarm()
246 next_leap = ts.tv_sec; in main()
247 next_leap += 86400 - (next_leap % 86400); in main()
252 tv.tv_sec = next_leap - 10; in main()
288 printf("Scheduling leap second for %s", ctime(&next_leap)); in main()
291 printf("Setting timer for %ld - %s", next_leap, ctime(&next_leap)); in main()
300 its1.it_value.tv_sec = next_leap; in main()
307 ts.tv_sec = next_leap - 3; in main()
329 while (now < next_leap + 2) { in main()