PXFGETPWUID (L*X, M*X)

POSIX Subroutine: Gets password information for a specified UID.

Module: USE IFPOSIX

Syntax

CALL PXFGETPWUID (iuid, jpasswd, ierror)

iuid
(Input) INTEGER(4). The user ID to retrieve information about.


jpasswd
(Output) INTEGER(4). A handle of structure compnam.


ierror
(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

The PXFGETPWUID subroutine stores the user information from /etc/passwd for the entry that matches the user ID iuid  in the structure associated with handle jpasswd.

Note

To get a handle for an instance of the compnam structure, use PXFSTRUCTCREATE with the string 'compnam' for the structure name.

See Also

PXFSTRUCTCREATE