@node getpwnam, unix @subheading Syntax @example #include struct passwd *getpwnam(const char *name); @end example @subheading Description This function gets the password file entry matching @var{name}. See @ref{getpwent}, for the description of @code{struct passwd}. @subheading Return Value The matching record, or @code{NULL} if none match. @subheading Portability @portability !ansi, posix