pxfgetgid

Date:

10-20-2011

NAME

PXFGETGID - Gets the real group ID

SYNOPSIS

SUBROUTINE PXFGETGID(igid, ierror)
INTEGER igid, ierror

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

IEEE standard interface for FORTRAN 77

DESCRIPTION

The PXFGETGID subroutine uses the getgid() system call to get the real 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:

igid

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

ierror

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

EXAMPLES

This example calls PXFGETGID and prints out the current real group ID and the returned error.

program pxftest
integer igid, ierr
CALL PXFGETGID(igid,ierr)
print *,'igid = ',igid,' ierr = ',ierr
end