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

unwind
- 391,730
- 64
- 469
- 606

user1145280
- 371
- 1
- 2
- 10
-
Also http://stackoverflow.com/a/12086110/193892 might be of value – Prof. Falken Aug 23 '12 at 07:11
1 Answers
2
If your Unix system is synchronized with NTP, chances are that it handles leap seconds.
See this article for more information: NTP Leap Second.
-
you mean, if NTP is up and running it handles leap seconds and we dont have to do anything extra for it? – user1145280 May 31 '12 at 08:06
-