9.118. GET_ENVIRONMENT_VARIABLE
9.118 GET_ENVIRONMENT_VARIABLE — Get an environmental variable
- Description:
- Get the VALUE of the environmental variable NAME.
Note that
GET_ENVIRONMENT_VARIABLE
need not be thread-safe. It is the responsibility of the user to ensure that the environment is not being updated concurrently with a call to theGET_ENVIRONMENT_VARIABLE
intrinsic. - Standard:
- Fortran 2003 and later
- Class:
- Subroutine
- Syntax:
-
CALL GET_ENVIRONMENT_VARIABLE(NAME[, VALUE, LENGTH, STATUS, TRIM_NAME)
- Arguments:
-
NAME Shall be a scalar of type CHARACTER
and of default kind.VALUE (Optional) Shall be a scalar of type <