@node getpwuid, unix @subheading Syntax @example #include struct passwd *getpwuid(uid_t uid); @end example @subheading Description This function gets the password file entry matching @var{uid}. 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