On Thu, Feb 11, 2016 at 03:48:34PM -0200, Alba Pompeo wrote: > Both are very cool! > A nitpick is that Dimitri's version uses the nonstandard header sys/sysctl.h. > This prevents compilation on musl.
Hm yes, it is only meant to work on OpenBSD. The sample() function is totally non-portable. (It might also work on NetBSD).