インテル® Fortran コンパイラー 19.0 デベロッパー・ガイドおよびリファレンス

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