.\" .\" $XConsortium: p018,v 5.2 94/04/17 20:54:23 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 "CLOSE PHIGS" 3P "29 February 1991" .SH NAME CLOSE PHIGS \- close the \s-2PHIGS\s+2 environment .SH SYNOPSIS .SS C Syntax .ft B .ta 1.25i 3i .nf void pclose_phigs () .fi .ft R .SS Required PHIGS Operating States (PHOP, WSCL, STCL, ARCL) .SH DESCRIPTION .SS Purpose \s-2CLOSE PHIGS\s+2 closes the \s-2PHIGS\s+2 environment and frees any resources associated with it. .LP Before calling \s-2CLOSE PHIGS,\s+2 all open structures, archives, and workstations must be closed. .SS C Input Parameters None .SS Execution When \s-2CLOSE PHIGS\s+2 is called: .sp .4 .RS \(bu The \s-2PHIGS\s+2 system state variable is set to \s-2PHCL\s+2 .sp .2 \(bu The \s-2PHIGS\s+2 state list becomes unavailable .sp .2 \(bu The workstation description tables become unavailable .sp .2 \(bu All \s-2PHIGS\s+2 buffers are released .sp .2 \(bu All \s-2PHIGS\s+2 files are closed .RE .SH ERRORS .IP 004 Ignoring function, function requires state (\s-2PHOP, WSCL, STCL, ARCL\s+2) .SH SEE ALSO .nf .IP .ta 0.5i .SM "INQUIRE SYSTEM STATE VALUE (3P)" .SM "OPEN PHIGS (3P)" .fi