[unix-pc.general] looking for fgetpwent

kak@hico2.UUCP (Kris A. Kugel) (12/10/90)

I was compiling a login replacement package,
for my 3b1, and it wants a routine "fgetpwent"
that I don't have on my machine.  I'd assume
that this is a getpwent that opens up a specific
password file (as opposed to only /etc/passwd.)
Its one arguement looks like an open file pointer
I'd assume that it would be pretty easy to create
this routine from an implimentation of getpwent.
However, I don't have the code for getpwent.

Can anybody help me out with this?

                               Kris A. Kugel
                             ( 908 ) 842-2707
          { uunet | rutgers | att }!westmark!hico2!kak
                         {daver,ditka,zorch}!hico2!kak
                         internet: kak@hico2.westmark.com