[PATCH] Support for sysconf(_SC_MONOTONIC_CLOCK)
peter.kjellerstedt at axis.com
Mon Sep 18 15:21:57 UTC 2006
The attached patch adds support for sysconf(_SC_MONOTONIC_CLOCK).
This is required to get glib 0.12.3 to use the monotonic clock
for its gtimers rather than gettimeofday().
I can commit the patch myself, but I would like an ok to do so
first. The reason is that I need to use a syscall to check whether
the monotonic clock support is actually present in the kernel,
and this is done in libc/unistd/sysconf.c.
If this patch is not acceptable, then I guess we need to do
something similar to what is done in glibc where this is done
via a sysconf() which is in sysdeps/unix/sysv/linux/sysconf.c,
which in turn includes sysdeps/posix/sysconf.c.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 980 bytes
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060918/a36b49d0/attachment-0002.obj
More information about the uClibc