delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/09/03:53:49

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: <42578A2E.7060102@exmsft.com>
Date: Sat, 09 Apr 2005 09:54:22 +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: Re: Incomplete POSIX_TIMERS support?
References: <4256EA53 DOT 1010507 AT exmsft DOT com> <20050408203715 DOT GA16642 AT trixie DOT casa DOT cgf DOT cx>
In-Reply-To: <20050408203715.GA16642@trixie.casa.cgf.cx>
X-ELNK-Trace: bd47eb33e10cdf15d780f4a490ca69563f9fea00a6dd62bc852971a1afca105c015d1744d9db9868350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-IsSubscribed: yes

Christopher Faylor wrote:

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

Should there be? Would you be interested in a patch that implemented a
few more of the POSIX timers APIs?

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