Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-E696A7E8-D4A2-493C-9464-CD0B01813772
Visible to Intel only — GUID: GUID-E696A7E8-D4A2-493C-9464-CD0B01813772
PXFGETENV
POSIX Subroutine: Gets the setting of an environment variable.
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.