WORKSTATION TYPE GET(3P) — SUNPHIGS LIBRARY
NAME
WORKSTATION TYPE GET − return the value of a specified workstation type field − SunPHIGS extension
SYNOPSIS
C Syntax
caddr_t
phigs_ws_type_get ( ws_type, attribute, arg )
Pwstypews_type;workstation type
Phigs_ws_type_attrattribute;
caddr_targ;
FORTRAN Syntax
SUBROUTINE phigswstget ( WST, ATTRIBUTE, VALUE )
INTEGERWSTworkstation type
INTEGERATTRIBUTEattribute
INTEGERVALUEvalue
Required PHIGS Operating States
(PHOP, ∗, ∗, ∗)
DESCRIPTION
Purpose
WORKSTATION TYPE GET retrieves the values of certain fields in the workstation description table associated with a specified workstation type. The value to return is specified by the attribute parameter. See WORKSTATION TYPE CREATE and WORKSTATION TYPE SET for more information.
This is a SunPHIGS addition, and is not part of the PHIGS standard.
C Input Parameters
This function returns the requested information as the value of the function. The return value must be cast to the appropriate type when assigning it to a variable.
ws_type
The workstation type in question.
attribute
The attribute indicating the value to return. See WORKSTATION TYPE SET for a list of attributes defined, their meanings and the data types of their values.
argNeeded for some attributes to specify additional information.
FORTRAN Input Parameters
WSTThe workstation type in question.
ATTRIBUTE
The attribute indicating the value to return. See WORKSTATION TYPE SET for a list of attributes defined, their meanings and the data types of their values.
VALUE
The value of the attribute. This must be of the appropriate type for the return value, i.e., INTEGER, REAL, LOGICAL, or CHARACTER(∗), depending on the attribute.
ERRORS
No Error
SEE ALSO
WORKSTATION TYPE GET (3P)
WORKSTATION TYPE SET (3P)
PHIGS WORKSTATION DESCRIPTION TABLE(7)
INQUIRE LIST OF AVAILABLE WORKSTATION TYPES (3P)
INQUIRE WORKSTATION CONNECTION AND TYPE (3P)
Sun Release 4.0 — Last change: 2 August 1989