pxfgetuid

Date:

10-20-2011

NAME

PXFGETUID - Gets the real user ID

SYNOPSIS

SUBROUTINE PXFGETUID(iuid, ierror)

INTEGER iuid, ierror

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

IEEE standard interface for FORTRAN 77

DESCRIPTION

The PXFGETUID subroutine uses the getuid system call to get the real user ID.

When using the Cray Fortran compiler, all arguments must be of default kind unless documented otherwise. The default kind is KIND=8 for integer, real, complex, and logical arguments.

The following is a list of valid arguments for this routine:

iuid

An output integer variable for the real user ID for the current process.

ierror

An output integer variable that contains zero if PXFGETUID was successful.

EXAMPLES

This example calls PXFGETUID and prints the current real user ID and returned error.

program pxftest
integer iuid, ierr
CALL PXFGETUID(iuid,ierr)
print *,'iuid = ',iuid,' ierr = ',ierr
end

SEE ALSO

getuid(2)