News for hackers. Stuff that matters.
Re:Insane complexity of calendrically correct date and time ... by teddyh on Thursday September 20, 2018 @06:28PM (#18035940)
You can avoid repetitions by using clock_gettime(CLOCK_MONOTONIC, …).
Re:Insane complexity of calendrically correct date and time ... by murderfs on Friday September 21, 2018 @12:31AM (#18037167)
But that's no longer Unix time, it's an arbitrary value that's usually something along the lines of "number of seconds that the CPU has been awake since boot".