.\"## .\" $XConsortium: p090,v 5.2 94/04/17 20:55:22 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. .TH "INQUIRE ARCHIVE STATE VALUE" 3P "29 February 1991" .SH NAME INQUIRE ARCHIVE STATE VALUE \- inquire state value of archive file .IX "Archive Files" "INQUIRE ARCHIVE STATE VALUE" .IX "Operating States" "INQUIRE ARCHIVE STATE VALUE" .SH SYNOPSIS .SS C Syntax .ft B .ta 1.25i 3i .nf void pinq_ar_st ( archive_state ) Par_st *archive_state; \fI\s-2OUT\s+2 archive state\fP .fi .ft R .SS Required PHIGS Operating States (*, *, *, *) .SH DESCRIPTION .SS Purpose Use \s-2INQUIRE ARCHIVE STATE VALUE\s+2 to determine the current state of the archive file. The state value may be either \fIarchive open\fP (\s-2AROP \s+2) or \fIarchive closed\fP (\s-2ARCL\s+2). .SS C Output Parameter .IP \fIarchive_state \fP A pointer to a Par_st enumerated variable in which the current state of the archive file is returned. Archive state values are defined in phigs.h as follows: .sp .ta .3i +\w'PST_AROP 'u .nf \s-2PST_ARCL\s+2 (archive closed) \s-2PST_AROP\s+2 (archive open) .fi .SH ERRORS .IP No Error .SH SEE ALSO .nf .IP .ta 0.5i .SM "OPEN ARCHIVE FILE (3P)" .SM "CLOSE ARCHIVE FILE (3P)" .SM "INQUIRE ARCHIVE FILES (3P)" .fi