Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpw(3c) — Atari System V ue12

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpwent(3C)

passwd(4)





   getpw(3C)           (C Programming Language Utilities)            getpw(3C)


   NAME
         getpw - get name from UID

   SYNOPSIS
         #include <stdlib.h>

         int getpw (uidt uid, char *buf);

   DESCRIPTION
         getpw searches the password file for a user id number that equals
         uid, copies the line of the password file in which uid was found into
         the array pointed to by buf, and returns 0.  getpw returns non-zero
         if uid cannot be found.

         This routine is included only for compatibility with prior systems
         and should not be used; see getpwent(3C) for routines to use instead.

   FILES
         /etc/passwd

   SEE ALSO
         getpwent(3C),
         passwd(4) in the System Administrator's Reference Manual.

   DIAGNOSTICS
         getpw returns non-zero on error.



























   7/91                                                                 Page 1





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