INQUIRE WORKSTATION CATEGORY(3P) — SUNPHIGS LIBRARY
NAME
INQUIRE WORKSTATION CATEGORY − inquire the category of a specified workstation type
SYNOPSIS
C Syntax
void
pinqwscategory ( type, error_ind, category )
Pwstypetype;workstation type
Pint∗error_ind;OUT error indicator
Pwscat∗category;OUT workstation category
FORTRAN Syntax
SUBROUTINE pqwkca ( WTYPE, ERRIND, WKCAT )
INTEGERWTYPEworkstation type
INTEGERERRINDOUT error indicator
INTEGERWKCATOUT workstation category
Required PHIGS Operating States
(PHOP, ∗, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE WORKSTATION CATEGORY to determine the category of a specified workstation type.
C Input Parameters
type
Type of workstation.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
category
A pointer to a Pwscat enumerated variable, in which the workstation category is returned. Values for Pwscat are defined in phigs.h as follows:
POUTPUTOutput Only
PINPUTInput Only
POUTINOutput and Input
PMOMetafile Output
PMIMetafile Input
FORTRAN Input Parameters
WTYPE
Type of workstation.
FORTRAN Output Parameters
ERRIND
The error number of any error detected by this function.
WKCAT
The workstation category, defined in phigs77.h as follows:
POUTPTOutput Only
PINPUTInput Only
POUTINOutput and Input
PMOMetafile Output
PMIMetafile Input
ERRORS
002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)
052Ignoring function, workstation type not recognized by the implementation
051Ignoring function, this information is not yet available for this workstation type; open a workstation of this type and use the specific workstation type
SEE ALSO
PHIGS WORKSTATION DESCRIPTION TABLE (7P)
OPEN WORKSTATION (3P)
INQUIRE WORKSTATION CLASSIFICATION (3P)
Sun Release 4.0 — Last change: 1 August 1989