Intel® Fortran Compiler 17.0 Developer Guide and Reference
POSIX Subroutine: Gets password information for a specified UID.
USE IFPOSIX
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.
To get a handle for an instance of the compnam structure, use PXFSTRUCTCREATE with the string 'compnam' for the structure name.