[PATCH] Support for sysconf(_SC_MONOTONIC_CLOCK)

Bernhard Fischer rep.nop at aon.at
Tue Sep 19 13:46:44 UTC 2006

>I also corrected the clock_getres() implementation in uClibc when
>no clock_getres syscall is available.

I take it that after
+                               if ((clk_tck = sysconf(_SC_CLK_TCK)) < 0) 

clk_tck can never ever be zero.
At least you'd now notice if it was..
>Anyway, I have attached a new, even simpler version of the patch.

Looks much better to my untrained eye :)

More information about the uClibc mailing list