|
|
|
|
|
by LegionMammal978
532 days ago
|
|
POSIX does define "the amount of time (in seconds and nanoseconds) since the Epoch", for the output of clock_gettime() with CLOCK_REALTIME [0]. That "amount of time" must be stopped or smeared or go backward in some way when it reaches a leap second. This isn't the 80s, we have functions that interact with Unix time at sub-second precision. [0] https://pubs.opengroup.org/onlinepubs/9799919799/functions/c... |
|