# PXFGETGID (L*X, M*X)

POSIX Subroutine: Gets the real group ID of the current process.

## Module

USE IFPOSIX

CALL PXFGETGID (igid,ierror)

igid | (Output) INTEGER(4). The returned real group ID.
ierror | (Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

The real ID corresponds to the ID of the calling process.

## Example

See the example in PXFGETGROUPS

Parent topic: POSIX* Library Routines

## See Also

PXFSETGID