Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inq_cond_in(3G) — HP-UX 9.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cond_call_segment(3G)

cond_execute_segment(3G)

cond_return(3G)

inq_extent_info(3G)

set_extent(3G)

inq_cond_index(3G)

NAME

inq_cond_index − inquire the current value of a condition index

SYNOPSIS

C Syntax:

void inq_cond_index(fildes, cond_index_select, value)
int fildes, cond_index_select, *value;

FORTRAN77 Syntax:

subroutine inq_cond_index(fildes, cond_index_select, value)
integer*4 fildes, cond_index_select, value

Pascal Syntax:

procedure inq_cond_index(fildes, cond_index_select:integer;
var value: integer);

DESCRIPTION

Input Parameters

fildes Integer file descriptor returned by gopen when an I/O path to a graphics device is opened. 

cond_index_select
Condition whose value is being inquired.  One of

CI_FALSE (0): constant value test always equal to FALSE. 
CI_PRUNE (1): prune condition, set by set_extent.
CI_CULL (2): cull condition, set by set_extent.

Output Parameters

value Current value of the condition index.  Will either be TRUE (1) or FALSE (0). 

Discussion

Inq_cond_index returns the current value of the specified condition index.  For CI_PRUNE and CI_FALSE, this value is set at the most recent call to set_extent.

ERRORS

1 Graphics device is not initialized for this operation. 

20 Parameter value is out of range. 

DEFAULTS

All condition indices are initially set to FALSE (0). 

SEE ALSO

cond_call_segment(3G), cond_execute_segment(3G), cond_return(3G),
inq_extent_info(3G), set_extent(3G).

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026