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


getpwnam

Syntax

#include <pwd.h>

struct passwd *getpwnam(const char *name);

Description

This function gets the password file entry matching name. 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.