Go to the first, previous, next, last section, table of contents.


TtyNam Intrinsic (subroutine)

CALL TtyNam(Name, Unit)

Name: CHARACTER; scalar; INTENT(OUT).

Unit: INTEGER; scalar; INTENT(IN).

Intrinsic groups: unix.

Description:

Sets Name to the name of the terminal device open on logical unit Unit or 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 section TtyNam Intrinsic (function).


Go to the first, previous, next, last section, table of contents.