Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpw.bsd(3C) — Domain/IX SR9.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpwent(3)

GETPW(3C)

NAME

getpw − get name from user ID

USAGE

getpw(uid, buf)
char *buf;

DESCRIPTION

Getpw has been made obsolete by getpwuid(3). 

Getpw searches the password file for the (numerical) uid, and fills in buf with the corresponding line; it returns non-zero if uid was not found.  The line is terminated by a null. 

FILES

/etc/passwd

DIAGNOSTICS

Returns non-zero on an error. 

RELATED INFORMATION

getpwent(3)

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