INQUIRE WORKSTATION STATE VALUE(3P) — SUNPHIGS LIBRARY
NAME
INQUIRE WORKSTATION STATE VALUE − inquire state value of workstation
SYNOPSIS
C Syntax
void
pinqwsst ( ws_state )
Pwsstate∗ws_state;OUT workstation state
FORTRAN Syntax
SUBROUTINE pqwkst ( WKSTA )
INTEGERWKSTAOUT workstation state value (PWKCL, PWKOP)
Required PHIGS Operating States
(∗, ∗, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE WORKSTATION STATE VALUE to determine the current state of the workstation. The state value may be either workstation open (PWSOP) or workstation closed (PWSCL).
This function may be used to verify that OPEN WORKSTATION was successful before performing additional PHIGS operations on the workstation.
C Output Parameters
ws_state
A pointer to an enumerated variable in which the current state of the workstation is returned, one of the enumerated values:
PWSCLWorkstation Closed
PWSOPWorkstation Open
FORTRAN Output Parameters
WKSTA
The current state of the workstation, one of the enumerated values:
PWSCLWorkstation Closed
PWSOPWorkstation Open
ERRORS
No Error
SEE ALSO
INQUIRE SET OF OPEN WORKSTATIONS (3P)
OPEN WORKSTATION (3P)
CLOSE WORKSTATION (3P)
INQUIRE SYSTEM STATE VALUE (3P)
Sun Release 4.0 — Last change: 1 August 1989