next up previous contents
Next: UIPACK Configuration Subprograms Up: Logical Unit Manipulation Previous: Free a Logical

Test Logical Unit for Terminal Device

This Subprogram tests whether the specified Logical Unit is attached to a Terminal Device (either a physical terminal or an internal ``mailbox").

Short Name Calling Sequence

STATUS = UITSTT(LUN,TTYDEV)

Long Name Calling Sequence

STATUS = UI_TEST_TERMINAL(...)

Input Arguments

LUN (Integer) Logical Unit Number

Output Arguments

TTYDEV (Logical) Terminal Indicator Flag .TRUE. Terminal Device .FALSE. Non-Terminal

Function Value

UI__SUCCESS ) Success UISUCC )

UI__ILLEGAL_UNIT ) Illegal Logical Unit No. UIILLU )

Note:

  1. The specified Logical Unit must be opened prior to making this call. Logical Units 5 and 6 are treated as being implicitly opened.
  2. The UI__ILLEGAL_UNIT Function Value will be returned either if the specified Logical Unit is unphysical, or if it has not been opened.


Liz Buckle
Fri Jan 13 17:30:40 CST 1995