AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

� ' ) '"- '

GETPW ( 3C ) GETPW ( 3C ) NAME getpw - get name from UID SYNOPSIS int getpw (uid, buf) int uid; char •buf; DESCRIPTION Getpw searches 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. Getpw returns non-zero if uid cannot be found. This routine is included only for compatibility with prior systems and should not be used; see getpwent(3C) for routines to use instead. FILES jetcfpasswd SEE ALSO getpwent(3C), passwd( 4). DIAGNOSTICS Getpw returns non-zero on error. WARNING The above routine uses < stdio.h >, which causes it to increase the size of programs, not otherwise using standard 1/0, more than might be expected. - 1-

�<br />

'<br />

)<br />

'"- '

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!