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

ID 767251
Date 7/13/2023
Public

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

Document Table of Contents

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