delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/08/16:31:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <4256EA53.1010507@exmsft.com>
Date: Fri, 08 Apr 2005 22:32:19 +0200
From: Keith Moore <keithmo AT exmsft DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050319
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Incomplete POSIX_TIMERS support?
X-ELNK-Trace: bd47eb33e10cdf15d780f4a490ca69563f9fea00a6dd62bc50d005377a473b79a290a16cedcdfcd4350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-IsSubscribed: yes

/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?


Thanks!

KM


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019