Copyright Digital Equipment Corp. All rights reserved.

getpwuid

   The getpwuid function returns information about a user database
   entry for the specified uid.

   The getpwuid_r function is a reentrant version of getpwuid.

   These functions are OpenVMS Alpha only.

   Format

     #include  <pwd.h>

     struct passwd *getpwuid  (uid_t uid); (ISO POSIX-1)

     struct passwd *getpwuid  (uid_t uid, . . . ); (DEC C Extension)

     int getpwuid_r  (uid_t uid, struct passwd *pwd, char *buffer, 
                     size_t bufsize, struct passwd **result); 
                    (ISO POSIX-1)

     int getpwuid_r  (uid_t uid, struct passwd *pwd, char *buffer,
                     size_t bufsize, struct passwd **result, . . . );
                     (DEC C Extension)
 


Additional information available:

Function_Variants               Arguments       Description     Return_Values