.\"## .\" $XConsortium: p214,v 5.3 94/04/17 20:56:55 hersh 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. .TH "INQUIRE STRUCTURE STATUS" 3P "29 February 1991" .SH NAME INQUIRE STRUCTURE STATUS \- inquire the status of a specified structure .IX "Structures" "INQUIRE STRUCTURE STATUS" .SH SYNOPSIS .SS C Syntax .ft B .ta 1.25i 3i .nf void pinq_struct_status ( struct_id, error_ind, status ) Pint struct_id; \fIstructure identifier\fP Pint *error_ind; \fIOUT error indicator\fP Pstruct_status *struct; \fIOUT existence status\fP .fi .ft R .SS Required PHIGS Operating States (PHOP, *, *, *) .SH DESCRIPTION .SS Purpose Use \s-2INQUIRE STRUCTURE STATUS\s+2 to determine the existence status of the specified structure (\s-2NON_EXISTENT\s+2, \s-2EMPTY\s+2, or \s-2NOTEMPTY\s+2). .SS C Input Parameters .IP \fIstruct_id\fP Identifier of the structure for which the status is to be returned. .SS C Output Parameters .IP \fIerror_ind\fP A pointer to the location to store the error number of any error detected by this function. .IP \fIstruct\fP A pointer to a Pstruct_status enumerated variable in which the system returns the existence status of the specified structure. Values for Pstruct_status are defined in phigs.h as follows: .nf .ta .5i .sp PSTRUCT_STATUS_NON_EXISTENT PSTRUCT_STATUS_EMPTY PSTRUCT_STATUS_NOT_EMPTY .fi .SH ERRORS .IP 002 Ignoring function, function requires state (\s-2PHOP, *, *, *\s+2) .SH SEE ALSO .nf .IP .ta 0.5i .SM "DELETE STRUCTURE (3P)" .SM "EMPTY STRUCTURE (3P)" .SM "INQUIRE STRUCTURE IDENTIFIERS (3P)" .fi