3 ms·
While I generally agree with your comment, I also find it ironic that one of the POSIX APIs you chose to use as an example of API misusage (clock_gettime) is ..
by waddlesplash 6y ago
While I generally agree with your comment, I also find it ironic that one of the POSIX APIs you chose to use as an example of API misusage (clock_gettime) is ... not available on macOS.
- RJIb8RBYxzAMX9u 6y agoIt's been added since macOS 10.12 (Sierra). According to my man page. Couldn't find any authoritative sources online on that, though. However, there are several secondary references[0][1]. [0] https://github.com/zeromq/libzmq/issues/2175 https://github.com/zeromq/libzmq/issues/2175 [1] https://github.com/rust-lang/libc/issues/776 https://github.com/rust-lang/libc/issues/776
- saagarjha 6y agoIt was added in Libc-1158.1.2, which shipped with Sierra: https://github.com/apple-open-source-mirror/Libc/blame/master/gen/clock_gettime.c https://github.com/apple-open-source-mirror/Libc/blame/maste...