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-BA3AF35B-75DC-4FDD-AD81-CCF2D52B9BDB
Visible to Intel only — GUID: GUID-BA3AF35B-75DC-4FDD-AD81-CCF2D52B9BDB
PXFCTERMID
POSIX Subroutine: Generates a terminal pathname. This routine is only available for Linux and macOS.
Module
USE IFPOSIX
CALL PXFCTERMID (s,ilen,ierror)
s |
(Output) Character. The returned pathname of the terminal. |
ilen |
(Output) INTEGER(4). The length of the returned value in the s string. |
ierror |
(Output) INTEGER(4). The error status. |
If successful, ierroris set to zero; otherwise, an error code.
This subroutine returns a string that refers to the current controlling terminal for the current process.