.\"##
.\" $XConsortium: p405,v 5.2 94/04/17 20:59:10 rws Exp $
.\"##
.\"## 
$XMCOPY
.\"## Copyright (c) 1990, 1991 by Sun Microsystems, Inc. 
.\"## 
.\"##                         All Rights Reserved
.\"## 
.\"## Permission to use, copy, modify, and distribute this software and its 
.\"## documentation for any purpose and without fee is hereby granted, 
.\"## provided that the above copyright notice appear in all copies and that
.\"## both that copyright notice and this permission notice appear in 
.\"## supporting documentation, and that the name of Sun Microsystems,
.\"## not be used in advertising or publicity 
.\"## pertaining to distribution of the software without specific, written 
.\"## prior permission.  
.\"## 
.\"## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
.\"## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
.\"## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
.\"## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
.\"## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
.\"## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\"## PERFORMANCE OF THIS SOFTWARE.
.ds f \s-2WORKSTATION TYPE GET\s+2
.ds c \s-2WORKSTATION TYPE CREATE\s+2
.ds s \s-2WORKSTATION TYPE SET\s+2
.ds o \s-2OPEN WORKSTATION\s+2
.TH "WORKSTATION TYPE GET" 3P "29 February 1991"
.SH NAME
WORKSTATION TYPE GET \-  return the value of a specified workstation type 
attribute \- \s-2PEX-SI\s0 Extension
.IX "Implementation-Specific Functions" "WORKSTATION TYPE GET"
.IX "Nonstandard Functions" "WORKSTATION TYPE GET"
.IX "Workstation Types" "WORKSTATION TYPE GET"
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.5i 3.25i
.nf
caddr_t
phigs_ws_type_get ( wst, attr, arg )
Pint	wst;	\fIworkstation type\fP
Phigs_ws_type_attr	attr;
char	*arg
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, *, *, *)
.SH DESCRIPTION
.SS Purpose
\*f retrieves the values of certain workstation type attributes.
The attribute value to return is specified by the \fIattribute\fP parameter.
See \*c and \*s for more information.
.LP
This is a \s-2PEX-SI\s0 addition, and is not
part of the 
\s-2PHIGS\s+2 standard.
.SS C Input Parameters
.IP \fIwst\fP
The workstation type in question.
.IP \fIattr\fP
The attribute indicating the value to return.
See \s-2WORKSTATION TYPE SET\s+2 for a list of attributes defined, 
their descriptions, and the data types of their values.
.IP \fIarg\fP
Needed for som attributes to specify additional information.
.SS C Output Parameters
.LP
This function returns the requested information as the value of the
function.  The return value must be cast to the appropriate type when
accessing the returned information.
.SH ERRORS
.IP 
No Error
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "WORKSTATION TYPE SET (3P)"
.SM "PHIGS WORKSTATION DESCRIPTION TABLE (7P)"
.SM "INQUIRE LIST OF AVAILABLE WORKSTATION TYPES (3P)"
.SM "INQUIRE WORKSTATION CONNECTION AND TYPE (3P)"
.fi
