Qp0zIsATerminal()--Determine Whether Descriptor Is Connected to a Generic Terminal


  Syntax
 #include <qp0ztrml.h>

 int Qp0zIsATerminal( int descriptor );  
  Service Program Name: QP0ZTRMLC

  Default Public Authority: *USE

  Threadsafe: Yes

The Qp0zIsATerminal() function determines if the specified descriptor is connected to a terminal. See Generic Terminal Concepts for details about using a terminal.


Parameters

descriptor
(Input) The descriptor to check.

Authorities

None.

Return Value

0
The descriptor is not connected to a terminal.
1
The descriptor is connected to a terminal.

Error Conditions

None.


Related Information



API introduced: V4R3
Top | Generic Terminal APIs | APIs by category