Intel® Fortran Compiler 17.0 Developer Guide and Reference

PXFGETENV

POSIX Subroutine: Gets the setting of an environment variable.

Module

USE IFPOSIX

CALL PXFGETENV (name,lenname,value,lenval,ierror)

name

(Input) Character. The name of the environment variable.

lenname

(Input) INTEGER(4). The length of name.

value

(Output) Character. The returned value of the environment variable.

lenval

(Output) INTEGER(4). The returned length of value. If an error occurs, it returns zero.

ierror

(Output) INTEGER(4). The error status.

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

See Also