INQUIRE WORKSTATION CATEGORY
CALL SEQUENCE
void pinq_ws_cat(
Pint ws_type, /* workstation type */
Pint *error_ind, /* (out) error indicator */
Pws_cat *category /* (out) workstation category */
)
TYPES
typedef enum {
PCAT_OUT,
PCAT_IN,
PCAT_OUTIN,
PCAT_MO,
PCAT_MI
} Pws_cat;
PHIGS STATES
(PHOP, *, *, *).
EFFECT
Returns the workstation category for the specified type. If the data is
available, error indicator is returned as 0.
The data is read from the workstation description table of type
ws_type.
ERRORS
- 2
Ignoring function, function requires state (PHOP, *,*,*)
- 52
- Ignoring function, workstation type not recognized by the implementation
- 51
- Ignoring function, this information is not yet available for this generic
workstation type: open a workstation of this type and use the specific
workstation type
SEE ALSO
open workstation, inquire workstation connection and types.