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 Date: Wed, 14 Apr 2004 11:12:14 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: reentrant functions Message-ID: <20040414091214.GH26558@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20040407044353 DOT GA6805 AT panix DOT com> <20040407194643 DOT GM26558 AT cygbert DOT vinschen DOT de> <20040408200223 DOT GD931 AT coc DOT bosbc DOT com> <20040409010034 DOT GA3252 AT coc DOT bosbc DOT com> <20040409040156 DOT GA4342 AT coe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i I just had a look into this again. On Apr 9 19:18, Bas van Gompel wrote: > Ok then, another try... > > Candidates getgrgid_r, getgrnam_r and getlogin_r are not > implemented. I'm wondering a bit about getgrgid_r and getgrnam_r. As you noted below, we have getpwnam_r and getpwuid_r so why did nobody implement the group functions so far? Weird. > ttyname_r appears to be implemented only for linux > (in newlib/libc/sys/linux/ttyname_r.c). > > ctime_r, asctime_r, getpwnam_r, getpwuid_r, gmtime_r, localtime_r, > strerror_r and strtok_r are already exported. > > That leaves: > ==== > rand_r > readdir_r > ==== Which actually leaves rand_r. readdir_r is using the getdent interface which we don't have. Our readdir is a home brew which implies that we need our own readdir_r implementation. > Is this any better? Yes, I've added rand_r to the list of exports and implemented ttyname_r as a start. I'm also positivly hoping for volunteers implementing getgrgid_r, getgrnam_r, getlogin_r and readdir_r. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/