Next: TtyNam Intrinsic (function), Previous: Trim Intrinsic, Up: Table of Intrinsic Functions
CALL TtyNam(Unit, Name)
Unit: INTEGER
; scalar; INTENT(IN).
Name: CHARACTER
; scalar; INTENT(OUT).
Intrinsic groups: unix
.
Description:
Sets Name to the name of the terminal device open on logical unit Unit or to a blank string if Unit is not connected to a terminal.
Some non-GNU implementations of Fortran provide this intrinsic as only a function, not as a subroutine.
For information on other intrinsics with the same name: See TtyNam Intrinsic (function).