Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpw(3) — Ultrix-32 3.1D RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpwent(3)

passwd(5yp)

getpw(3)

NAME

getpw − get name from uid

SYNTAX

getpw(uid, buf)
char *buf;

DESCRIPTION

The getpw routine has been superseded by getpwuid, see getpwent(.).

The getpw routine searches the password file for the (numerical) uid, and fills in buf with the corresponding line; it returns nonzero if uid could not be found.  The line is null terminated. 

DIAGNOSTICS

Nonzero return on error. 

FILES

/etc/passwd

SEE ALSO

getpwent(3), passwd(5yp)

Subroutines

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026