Lines Matching refs:next_leap
67 time_t next_leap; variable
149 if (tx.time.tv_sec < next_leap) { in sigalarm()
150 printf("Error: Early timer expiration! (Should be %ld)\n", next_leap); in sigalarm()
256 next_leap = ts.tv_sec; in main()
257 next_leap += 86400 - (next_leap % 86400); in main()
262 tv.tv_sec = next_leap - 10; in main()
298 printf("Scheduling leap second for %s", ctime(&next_leap)); in main()
301 printf("Setting timer for %ld - %s", next_leap, ctime(&next_leap)); in main()
310 its1.it_value.tv_sec = next_leap; in main()
317 ts.tv_sec = next_leap - 3; in main()
339 while (now < next_leap + 2) { in main()