문제

I have a call like clock_gettime(CLOCK_REALTIME), does it handle leap seconds? If not, what changes are required? Working on Solaris.

도움이 되었습니까?

해결책

If your Unix system is synchronized with NTP, chances are that it handles leap seconds.

See this article for more information: NTP Leap Second.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top