VMS Help
CRTL, getpwnam

 *Conan The Librarian

    The getpwnam function returns information about a user database
    entry for the specified name.

    The getpwnam_r function is a reentrant version of getpwnam.

    Format

      #include  <pwd.h>

      struct passwd *getpwnam  (const char *name); (ISO POSIX-1)

      struct passwd *getpwnam  (const char *name, . . . );
                               (DEC C Extension)

      int getpwnam_r  (const char *name, struct passwd *pwd,
                      char *buffer, size_t bufsize, struct
                      passwd **result); (ISO POSIX-1),
                      (Integrity servers, Alpha)

      int getpwnam_r  (const char *name, struct passwd *pwd,
                      char *buffer, size_t bufsize, struct
                      passwd **result, . . . ); (DEC C Extension),
                      (Integrity servers, Alpha)

  Additional Information (explode) :

  Close     Help