Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpw(3C) — bsd — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpwent(3)

passwd(4)



GETPW(3C-BSD)       RISC/os Reference Manual        GETPW(3C-BSD)



NAME
     getpw - get name from uid

SYNOPSIS
     getpw(uid, buf)
     char *buf;

DESCRIPTION
     getpw is made obsolete by getpwuid (see getpwent(3)).

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

FILES
     /etc/passwd

SEE ALSO
     getpwent(3), passwd(4).

DIAGNOSTICS
     Non-zero return on error.
































                         Printed 1/15/91                   Page 1



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