getpw man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



GETPW(3C)							     GETPW(3C)

NAME
     getpw - get name from UID

SYNOPSIS
     #include <stdlib.h>

     int getpw(uid_t 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).

DIAGNOSTICS
     getpw returns non-zero on error.

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

									Page 1

[top]

List of man pages available for IRIX

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