Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inq_seg_con(3G) — HP-UX 9.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

seg_control(3G)

inq_ele_control(3G)

inq_seg_control(3G)

NAME

inq_seg_control − return information about the segment control flags of a segment. 

SYNOPSIS

C Syntax:

void inq_seg_control(fildes, segno, control)
int fildes, segno, *control;

FORTRAN77 Syntax:

subroutine inq_seg_control(fildes, segno, control)
integer*4 fildes, segno, control

Pascal Syntax:

procedure inq_seg_control(fildes, segno: integer; var control: integer);

DESCRIPTION

Input Parameters

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

segno Segment name. 

Output Parameters

control the segment control flags currently on for the current segment. 

Discussion

Inq_seg_control returns the current segment control bits as set by seg_control. This information controls how a segment is processed during display and pick traversals.

The return value control will be a bitwise OR of the following values:

DISP_IGNORE if the segment is ignored during display traversals. 

PICK_IGNORE if the segment is ignored during pick traversals. 

HIGHLIGHTING if the segment is highlighted during display traversals. 

EXAMPLES

ERRORS

1 Graphics device is not initialized for this operation. 

39 Specified segment does not exist. 

SEE ALSO

seg_control(3G), inq_ele_control(3G). 

Hewlett-Packard Company  —  HP-UX Release 9.03: April 1994

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