getpw man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

getpw(3C)							     getpw(3C)

NAME
       getpw() - get name from UID

SYNOPSIS
DESCRIPTION
       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.  returns non-zero if uid cannot be
       found.  The line is null-terminated.

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

NETWORKING FEATURES
   NFS
       This routine is implemented using (see getpwent(3C)) and therefore uses
       the Network  Information	 Service  network  database  as	 described  in
       passwd(4).

RETURN VALUE
       returns non-zero on error.

WARNINGS
       The  above routine uses which causes it to increase, more than might be
       expected, the size of programs not otherwise using standard I/O.

   Obsolescent Interfaces
       is to be obsoleted at a future date.

AUTHOR
       was developed by AT&T and HP.

FILES
       /etc/passwd

SEE ALSO
       getpwent(3C), passwd(4), thread_safety(5).

STANDARDS CONFORMANCE
				TO BE OBSOLETED			     getpw(3C)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net