pxfgetegid

Date:

10-20-2011

NAME

PXFGETEGID - Gets the effective group ID

SYNOPSIS

SUBROUTINE PXFGETEGID(iegid, ierror)
INTEGER iegid, ierror

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

IEEE standard interface for FORTRAN 77

DESCRIPTION

The PXFGETEGID subroutine uses the getegid() function to get the effective group ID.

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

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

iegid

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

ierror

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

EXAMPLES

This example calls PXFGETEGID and prints out the current effective group ID and the returned error.

program pxftest
integer iegid, ierr
CALL PXFGETEGID(iegid,ierr)
print *,'iegid = ',iegid,' ierr = ',ierr
end