HP-UX Reference (11i v3 07/02) - 3 Library Functions A-M (vol 6)
g
getspwent(3X) getspwent(3X)
(TO BE OBSOLETED)
Obsolescent Interfaces
The following interfaces are to be obsoleted: getspwent_r()
, getspwuid_r()
, getspwaid_r()
,
getspwnam_r()
, setspwent_r()
, endspwent_r(), and
fgetspwent_r().
HP-UX 11i Version 3 is the last release to support trusted systems functionality.
EXAMPLES
The following code excerpt counts the number of entries in the protected password database:
int count = 0;
struct s_passwd *pwbuf;
setspwent();
while (pwbuf=getspwent())
count++;
endspwent();
AUTHOR
getspwent() was developed by HP.
FILES
/tcb/files/auth/*/*
Protected Password database
SEE ALSO
ypcat(1), getgrent(3C), getlogin(3C), getpwent(3C), getprpwent(3), passwd(4).
HP-UX 11i Version 3: February 2007 − 3 − Hewlett-Packard Company 571