# G

This section describes language features that start with G.

Parent topic: A to Z Reference

- GAMMA
  Elemental Intrinsic Function (Generic): Returns the gamma value of its argument.
- GENERIC
  Statement: Declares a generic interface that is bound to a derived type-bound procedure, or specifies a generic identifier for one or more specific procedures.
- GERROR
  Run-Time Subroutine: Returns a message for the last error detected by a Fortran run-time routine.
- GETARG
  Intrinsic Subroutine: Returns the specified command-line argument (where the command itself is argument number zero). Intrinsic subroutines cannot be passed as actual arguments.
- GETC
  Portability Function: Reads the next available character from external unit 5, which is normally connected to the console.
- GETCHARQQ
  Run-Time Function: Returns the next keystroke.
- GET_COMMAND
  Intrinsic Subroutine: Returns the entire command that was used to invoke the program.
- GET_COMMAND_ARGUMENT
  Intrinsic Subroutine: Returns a command line argument of the command that invoked the program. Intrinsic subroutines cannot be passed as actual arguments.
- GETCONTROLFPQQ
  Portability Subroutine: Returns the floating-point processor control word.
- GETCWD
  Portability Function: Returns the path of the current working directory.
- GETDAT
  Portability Subroutine: Returns the date.
- GETDRIVEDIRQQ
  Portability Function: Returns the path of the current working directory on a specified drive.
- GETDRIVESIZEQQ
  Portability Function: Returns the total size of the specified drive and space available on it.
- GETDRIVESQQ
  Portability Function: Reports which drives are available to the system.
- GETENV
  Portability Subroutine: Returns the value of an environment variable.
- GET_ENVIRONMENT_VARIABLE
  Intrinsic Subroutine: Gets the value of an environment variable.
- GETENVQQ
  Portability Function: Returns the value of an environment variable.
- GETEXCEPTIONPTRSQQ (W*S)
  Run-Time Function: Returns a pointer to C run-time exception information pointers appropriate for use in signal handlers established with SIGNALQQ or direct calls to the C rtl signal( ) routine.
- GETFILEINFOQQ
  Portability Function: Returns information about the specified file. File names can contain wildcards (* and ?).
- GETGID
  Portability Function: Returns the group ID of the user of a process.
- GETLASTERROR
  Portability Function: Returns the last error set.
- GETLASTERRORQQ
  Portability Function: Returns the last error set by a run-time procedure.
- GETLOG
  Portability Subroutine: Returns the user's login name.
- GETPID
  Portability Function: Returns the process ID of the current process.
- GETPOS, GETPOSI8
  Portability Functions: Return the current position of a file.
- GETSTATUSFPQQ (W*S)
  Portability Subroutine: Returns the floating-point processor status word.
- GETSTRQQ
  Run-Time Function: Reads a character string from the keyboard using buffered input.
- GET_TEAM
  Transformational Intrinsic Function (Generic): Returns a copy of a team variable.
- GETTIM
  Portability Subroutine: Returns the time.
- GETTIMEOFDAY
  Portability Subroutine: Returns seconds and microseconds since 00:00 Jan 1, 1970.
- GETUID
  Portability Function: Returns the user ID of the calling process.
- GMTIME
  Portability Subroutine: Returns the Greenwich mean time in an array of time elements.
- GOTO - Assigned
  Statement: Transfers control to the statement whose label was most recently assigned to a variable. This feature has been deleted in the Fortran Standard. Intel® Fortran fully supports features deleted in the Fortran Standard.
- GOTO - Computed
  Statement: Transfers control to one of a set of labeled branch target statements based on the value of an expression. It is an obsolescent feature in Fortran 95.
- GOTO - Unconditional
  Statement: Transfers control to the same branch target statement every time it executes.