pxfgeteuid

Date:

10-20-2011

NAME

PXFGETEUID - Gets effective user ID

SYNOPSIS

INTEGER ieuid, ierror
CALL PXFGETEUID(ieuid, ierror)

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

IEEE 1003.9-1992 standard interface for FORTRAN 77

DESCRIPTION

The PXFGETEUID subroutine uses the geteuid() system call to get the effective user ID.

All arguments must be of default kind unless documented otherwise. Default kind is KIND=4 for integer, real, complex, and logical arguments.

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

ieuid

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

ierror

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

EXAMPLES

This example calls PXFGETEUID and prints out the current effective user ID and the returned error.

program pxftest
integer ieuid, ierror

CALL PXFGETEUID(ieuid,ierror)
print *,'ieuid = ',ieuid,' ierror = ',ierror
end

SEE ALSO

geteuid(2)