.\"
.\" $XConsortium: p039,v 5.2 94/04/17 20:54:39 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 "EMERGENCY CLOSE PHIGS" 3P "29 February 1991"
.SH NAME
EMERGENCY CLOSE PHIGS \- perform an emergency close of \s-2PHIGS\s+2
.IX "Operating States" "EMERGENCY CLOSE PHIGS"
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pemergency_close_phigs ()
.fi
.ft R
.SS Required PHIGS Operating States
(*, *, *, *)
.SH DESCRIPTION
.SS Purpose
\s-2EMERGENCY CLOSE PHIGS\s+2 closes the \s-2PHIGS\s+2 system
even if the error state is \s-2ON\s+2. 
The purpose of this function is to terminate \s-2PHIGS\s+2 and
save as much graphical information as possible,
even though the application has encountered errors it can't recover from.
.SS C Input Parameters
None
.SS Execution
When \s-2EMERGENCY CLOSE PHIGS\s+2 is called, the following actions are performed:
.sp .5
.RS
\(bu  The open structure (if any) is closed
.sp .2
\(bu  Any open archive files are closed
.sp .2
\(bu  Any open workstations are updated and closed
.sp .2
\(bu  \s-2PHIGS\s+2 is closed
.RE
.LP
No action is taken if \s-2PHIGS\s+2 is already closed when
\s-2EMERGENCY CLOSE PHIGS\s+2 is called.
.SH ERRORS
.IP 
No Error
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "CLOSE PHIGS (3P)"
.fi
