Does REALTIME clock support leap seconds?
-
11-06-2021 - |
Pergunta
I have a call like clock_gettime(CLOCK_REALTIME)
, does it handle leap seconds? If not, what changes are required? Working on Solaris.
Solução
If your Unix system is synchronized with NTP, chances are that it handles leap seconds.
See this article for more information: NTP Leap Second.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow