This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: reentrant functions


Op Wed, 14 Apr 2004 11:12:14 +0200
schreef Corinna Vinschen <corinna-cygwin van cygwin.com>
in <20040414091214.GH26558@cygbert.vinschen.de>:
:  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.

Indeed.

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

Great!

:  I'm also positivly hoping for volunteers implementing getgrgid_r,
:  getgrnam_r, getlogin_r and readdir_r.

I'm willing...

I've got most of readdir_r implemented, testing...
I'll look at the others next.

I guess I'll have to go send a transcontinental snail...

L8r,

Buzz.
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   /    /   really is |   and false bits entirely.    | mail for
  ) |  |  /    /    a 72 by 4 +-------------------------------+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe "s.u(z)\1.as."    | me. 4^re

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]