INQUIRE OPEN STRUCTURE(3P) — Kubota Pacfic Computer Inc. (29 February 1991)
NAME
INQUIRE OPEN STRUCTURE − inquire the status of the currently opened structure
SYNOPSIS
C Syntax
void
pinq_open_struct ( error_ind, status, struct_id )
Pint∗error_ind;OUT error indicator
Popen_struct_status∗status; OUT status of open structure
Pint∗struct_id;OUT structure identifier
Required PHIGS Operating States
(PHOP, ∗, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE OPEN STRUCTURE to determine the status of the currently open structure.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
statusA pointer to a Popen_struct_status enumerated type in which the system returns the status of the currently open structure. Values of Popen_struct_status are defined in phigs.h as follows:
PSTRUCT_NONENo Structure Is Open
PSTRUCT_OPENA Structure Is Open
struct_id
An integer pointer in which the system returns the structure identifier of the currently open structure. This value is undefined if status is PSTRUCT_NONE.
ERRORS
002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)
SEE ALSO
OPEN STRUCTURE (3P)
CLOSE STRUCTURE (3P)
INQUIRE STRUCTURE STATUS (3P)
INQUIRE STRUCTURE STATE VALUE (3P)
September 02, 1992