INQUIRE ARCHIVE STATE VALUE(3P) — SUNPHIGS LIBRARY
NAME
INQUIRE ARCHIVE STATE VALUE − inquire state value of archive file
SYNOPSIS
C Syntax
void
pinqarst ( archive_state )
Parchivestate∗archive_state;OUT archive state
FORTRAN Syntax
SUBROUTINE pqars ( ARSTA )
INTEGERARSTAOUT archive state value (PARCL, PAROP)
Required PHIGS Operating States
(∗, ∗, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE ARCHIVE STATE VALUE to determine the current state of the archive file. The state value may be either “archive open” (AROP ) or “archive closed” (ARCL).
C Output Parameters
archive_state
A pointer to a Parchivestate enumerated variable in which the current state of the archive file is returned. Archive state values are defined in phigs.h as follows:
PARCL(archive closed)
PAROP(archive open)
FORTRAN Output Parameters
ARSTA
An integer in which the current state of the archive file is returned. Archive state values are defined in phigs77.h as follows:
PARCL(archive closed)
PAROP(archive open)
ERRORS
No Error
SEE ALSO
OPEN ARCHIVE FILE (3P)
CLOSE ARCHIVE FILE (3P)
INQUIRE ARCHIVE FILES (3P)
Sun Release 4.0 — Last change: 7 July 1989