Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re-entrant versions of functions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/