On 11 February 2016 at 12:53, Alba Pompeo <albapom...@gmail.com> wrote:
> It's not supposed to be used on Linux on the first place - right.
> My bad for missing this information.
>
>
> On Thu, Feb 11, 2016 at 3:51 PM, Dimitris Papastamos <s...@2f30.org> wrote:
>> 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).
>>
>

I also cannot guarantee cross platform compatibility, as it depends on
/proc/net/dev. I am unsure of which systems support this.

Reply via email to