Intel® Fortran Compiler 18.0 Developer Guide and Reference
POSIX Subroutine: Generates a terminal pathname.
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.