POSIX Subroutine: Generates a terminal pathname.
Module: USE IFPOSIX
Syntax
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, ierror is set to zero; otherwise, an error code.
This subroutine returns a string that refers to the current controlling terminal for the current process.