Intel® Fortran Compiler 17.0 Developer Guide and Reference
POSIX Subroutine: Gets the terminal pathname.
USE IFPOSIX
CALL PXFTTYNAME (ifildes,s,ilen,ierror)
ifildes |
(Input) INTEGER(4). The file descriptor associated with the terminal. |
s |
(Output) Character. The returned terminal pathname. |
ilen |
(Output) INTEGER(4). The length of the string stored in s. |
ierror |
(Output) INTEGER(4). The error status. |
If successful, ierror is set to zero; otherwise, an error code.