Subject: Re: getpwent_r()
To: Christos Zoulas <christos@tac.gw.com>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: current-users
Date: 04/01/2005 19:40:05
On Aug 22, 2:35am, Christos Zoulas wrote:
} In article <200504010736.j317aYao005885@vtn1.victoria.tc.ca>,
} John Nemeth <jnemeth@victoria.tc.ca> 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