Subject: Re: getpwent_r()
To: Christos Zoulas <>
From: John Nemeth <>
List: current-users
Date: 04/01/2005 19:40:05
On Aug 22,  2:35am, Christos Zoulas wrote:
} In article <>,
} John Nemeth <> wrote:
} >     libedit uses getpwent() to enumerate all users starting with a
} >particular string.  I think this means that we are going to need a
} >getpwent_r() function.  Solaris 8 has one that looks like this:
} Look at PR/298{49,50}.

     Hmm...  It looks like there is no consistency in the
implementation.  I suggest that we go with the FreeBSD/Linux one.  It
is consistent with the functions specified in POSIX.  Also, the BSDs
should probably be the same.  A check of OpenBSD's online man pages
didn't turn up an entry.  Has this issue been discussed on the bsd-api
list (I'm not on it)?

     BTW, anybody here close to the POSIX standards group and can put a
bug in somebody's ear?

     Anyways, I guess I'll set libedit to one side for now and go look
at something else.

}-- End of excerpt from Christos Zoulas