Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

GETGID

Portability Function: Returns the group ID of the user of a process.

Module

USE IFPORT

result = GETGID( )

Results

The result type is INTEGER(4). The result corresponds to the primary group of the user under whose identity the program is running. The result is returned as follows:

  • Linux

    This function returns the group identity for the current process.

  • Windows

    This function returns the last subauthority of the security identifier for the process. This is unique on a local machine and unique within a domain for domain accounts.

    Note that on Windows systems, domain accounts and local accounts can overlap.

Example

  USE IFPORT
  ISTAT = GETGID( )