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

PXFCONST

POSIX Subroutine: Returns the value associated with a constant.

Module

USE IFPOSIX

CALL PXFCONST (constname,ival,ierror)

constname

(Input) Character. The name of one of the following constants:

  • STDIN_UNIT

  • STDOUT_UNIT

  • STDERR_UNIT

  • EINVAL

  • ENONAME

  • ENOHANDLE

  • EARRAYLEN

  • ENOENT

  • ENOTDIR

  • EACCES

The constants beginning with E signify various error values for the system variable errno.

ival

(Output) INTEGER(4). The returned value of the constant.

ierror

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

If successful, ierror is set to zero; otherwise, it is set to -1.

For more information on these constants, see your Microsoft* Visual C++ documentation (Windows* systems) or the errno.h file (Linux* and macOS systems).

See Also