Incomplete POSIX_TIMERS support?

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Fri Apr 8 20:47:00 GMT 2005


On Fri, Apr 08, 2005 at 10:32:19PM +0200, Keith Moore wrote:
>/usr/include/sys/features.h defines _POSIX_TIMERS, presumably to
>indicate that POSIX timers are supported. There seems to be something
>missing, though.
>
>Under the influence of _POSIX_TIMERS, /usr/include/time.h defines
>function prototypes for clock_gettime() and clock_getres() (and a few
>others). clock_gettime() gets linked-in from libc.a, but I cannot find a
>library for clock_getres().
>
>This is causing problems for the CVS version of wget, which assumes
>_POSIX_TIMERS means all of the POSIX timer APIs are supported.
>
>Am I missing something here? Is there a clock_getres() somewhere?

No, there isn't.  Sorry.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list