Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpwent(3)

GETPW(3C)

NAME

getpw − get name from user ID (obsolete)

USAGE

getpw(uid, buf) char *buf;

DESCRIPTION

Getpw has been made obsolete by getpwuid(3). 

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

FILES

/etc/passwd the password file

DIAGNOSTICS

Returns non-zero on an error. 

RELATED INFORMATION

getpwent(3)

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