*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> getpw (3)              
Title
Content
Arch
Section
 

getpw(3)

Contents


NAME    [Toc]    [Back]

       getpw - get name from uid

SYNOPSIS    [Toc]    [Back]

       getpw(
               uid_t uid,
               char *buf );

DESCRIPTION    [Toc]    [Back]

       The getpw() routine has been superseded by getpwuid(). See
       getpwent(3).

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

ERRORS    [Toc]    [Back]

       Nonzero return on error.

FILES    [Toc]    [Back]

       /etc/passwd

SEE ALSO    [Toc]    [Back]

      
      
       getpwent(3), passwd(4)



                                                         getpw(3)
[ Back ]
 Similar pages
Name OS Title
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service