Go to the first, previous, next, last section, table of contents.


getpwuid

Syntax

#include <pwd.h>

struct passwd *getpwuid(uid_t uid);

Description

This function gets the password file entry matching uid. See section getpwent.

Return Value

The matching record, or NULL if none match.

Portability

not ANSI, POSIX


Go to the first, previous, next, last section, table of contents.