www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/19/12:24: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: <430607B4.6030109@whichwalk.com>
Date: Fri, 19 Aug 2005 17:24:20 +0100
From: syphon <syphon AT whichwalk DOT com>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re-entrant versions of functions
X-IsSubscribed: yes

Hi all,

I'm trying to build some example code from 'Programming with POSIX 
Threads' by David Butenhof, and have run into an error because one of 
the programs calls readdir_r.  From googling and searching the mailing 
lists, it looks like there has been some work done on the re-entrant 
versions of the standard functions, but nothing seems to be built in the 
shipping binary code.

I downloaded the cygwin source and there is definition for readdir_r in 
newlib/libc/posix however there is no corresponding declaration in any 
header file.

My question is, is there a reason that the re-entrant versions of the 
functions like readdir_r are not built?

This isn't a critical issue for me - I just want to play with this stuff 
on my laptop on the train without needing to dual-boot into linux (so 
I'm just being lazy!).  However I'm still curious, so if anyone has an 
answer I'd be greatful.

Many thanks

DL

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