Subject: Re: getpwnam(3) and getting a users home directory
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Anders Dinsen <anders@dinsen.net>
List: netbsd-users
Date: 03/18/2001 09:00:45
On Sat, 17 Mar 2001, Bill Sommerfeld wrote:
> what luke said.. getpwnam() != getpwent()
> 
> getpwent() walks through the password "file" one record at a time,
> while getpwnam()/getpwuid() gets you the one you're looking for.

Oh! My fault! I did not read it well enough. Thanks for clarifying this!
:-)

-- 
Anders Dinsen
anders@dinsen.net
http://dinsen.net/anders/