Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

CLOCK_MONOTONIC is affected by NTP on Linux, at least.

UNIX time is not actually seconds since the epoch. It's just something very, very close. There are a few cases where the same time_t value repeats for two seconds in order to insert a leap second.

With regard to Windows, I assume there are equivalents to all these interfaces, but I don't know what they are.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: