Description:
Get the name of the terminal
attached to the given file descriptor.
Invocation
CALL PSX_TTYNAME( FILDSC, TNAME, STATUS )
Arguments
FILDSC = INTEGER (Given)
The file descriptor.
TNAME = CHARACTER
∗ (
∗ )
(Returned)
The name of the terminal attached to FILDSC.
STATUS = INTEGER (Given)
The
global status.
Examples:
CALL PSX_TTYNAME( 0, TNAME, STATUS )
When run on a
Unix system, this will return something like "/dev/ttyp2" (without the quotes). Notes:
External Routines Used
cnf: cnfExprt
References
Copyright
Copyright (C) 1991 Science & Engineering
Research Council
Copyright © 2000 Council for the Central Laboratory of the Research Councils, 2006 Particle Physics
and Astronomy Research Council