Next: , Previous: TtyNam Intrinsic (subroutine), Up: Table of Intrinsic Functions


8.11.9.252 TtyNam Intrinsic (function)

     TtyNam(Unit)

TtyNam: CHARACTER*(*) function.

Unit: INTEGER; scalar; INTENT(IN).

Intrinsic groups: unix.

Description:

Returns the name of the terminal device open on logical unit Unit or a blank string if Unit is not connected to a terminal.

For information on other intrinsics with the same name: See TtyNam Intrinsic (subroutine).