Query: getpw
OS: hpux
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
getpw(3C) getpw(3C)NAMEgetpw() - get name from UIDSYNOPSISDESCRIPTIONsearches the password file for a user ID number that equals uid, copies the line of the password file in which uid was found into the array pointed to by buf, and returns 0. returns non-zero if uid cannot be found. The line is null-terminated. This routine is included only for compatibility with prior systems, and should not be used; see getpwent(3C) for routines to use instead.NETWORKING FEATURESNFS This routine is implemented using (see getpwent(3C)) and therefore uses the Network Information Service network database as described in passwd(4).RETURN VALUEreturns non-zero on error.WARNINGSThe above routine uses which causes it to increase, more than might be expected, the size of programs not otherwise using standard I/O. Obsolescent Interfaces is to be obsoleted at a future date.AUTHORwas developed by AT&T and HP.FILES/etc/passwdSEE ALSOgetpwent(3C), passwd(4), thread_safety(5).STANDARDS CONFORMANCETO BE OBSOLETED getpw(3C)
Related Man Pages |
---|
getpw(3) - redhat |
getpw(3) - linux |
grget(1) - hpux |
getpw(3) - suse |
getpw(3) - minix |
Similar Topics in the Unix Linux Community |
---|
ASCII character to accept logon password |
extracting a line based on line number |
awk script doubt in extracting and comparing uid |
uid script help |
Equivalent uid to root |