This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: Where is getpw declared?


> 
> The linux manual page states that getpw is declared via including
> <pwd.h> - but I can't find the prototype in any header at all.
> 
> I guess getpw is a GNU extension, since I couldn't find any
> documentation on it besides the man page.

It is an ancient (BSD maybe?) function.  I put it in GNU libc in the first
place for compatibility, probably with 4.3BSD and/or SysVr3 at the time.
I don't know if anybody uses it now.

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