Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
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