.\"
.\" $XConsortium: p028,v 5.2 94/04/17 20:54:31 rws Exp $
.\"
.\" 
$XMCOPY
.\" Copyright (c) 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
.\" 
.\"                         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 names of Sun Microsystems,
.\" and the X Consortium 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 "DELETE ALL STRUCTURES" 3P "29 February 1991"
.SH NAME
DELETE ALL STRUCTURES \- remove all existing structures from the Central Structure Store
.IX "Structures" "DELETE ALL STRUCTURES"
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pdel_all_structs ()
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, *, *, *)
.SH DESCRIPTION
.SS Purpose
Use \s-2DELETE ALL STRUCTURES\s+2 to remove all the existing structures from the Central Structure Store.
.SS C Input Parameters
None
.SS Execution
The \s-2DELETE ALL STRUCTURES\s+2 subroutine removes all the existing structures from the Central Structure Store. To do this, \s-2DELETE ALL STRUCTURES\s+2 executes the \s-2DELETE STRUCTURE\s+2 function for each existing structure.  All structure identifiers and structure elements are deleted, with the exception of an open structure.
.LP
If a structure is open, \s-2DELETE ALL STRUCTURES\s+2 retains the structure with its current structure identifier, but removes all the structure elements from it. The result is to replace the open structure with an empty structure.
.LP
Any structure that is posted to a workstation is unposted.
.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 "DELETE STRUCTURE NETWORK (3P)"
.SM "DELETE ALL STRUCTURES FROM ARCHIVE (3P)"
.fi
