Where is fgetpwent?

Jeff Holmbeck jdh at shamash.cdc.com
Fri Sep 29 07:32:29 AEST 1989


Has anyone else run into this problem?  I am programming on AUX 1.1 and
want to read local passwd and group files.  According to the Programmer's
Reference Manual, fgetpwent(3) and fgetgrent(3) are available to do 
this.  However, if I try to compile a program with these functions, cc
issues an ld error message claiming fgetpwent and fgetgrent are 
undefined.  The functions getpwent(3) and getgrent(3) which read the 
system passwd and group files work fine.

Any insight would be appreciated.  Thanks.

Jeff Holmbeck
Control Data Corporation



More information about the Comp.unix.aux mailing list