Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inq_ele_typ(3G) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

inq_ele(3G)

inq_ele_control(3G)

inq_content(3G)

print_element(3G)

inq_ele_type(3G)

NAME

inq_ele_type − return the type of the current element in the currently open segment

SYNOPSIS

C Syntax:

void inq_ele_type(fildes, ele_type)
int fildes, *ele_type

FORTRAN77 Syntax:

subroutine inq_ele_type(fildes, ele_type)
integer*4 fildes, ele_type

Pascal Syntax:

procedure inq_ele_type(fildes:integer; var ele_type:integer);

DESCRIPTION

Input Parameters

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

Output Parameters

ele_type Integer identifying current element type. 

Discussion

Inq_ele_type returns the type of the current element in the currently open segment of the specified graphics device. 

Integer code definitions for defined element types are provided in language-dependent include files. 

If the current element is element 0, the type returned is OP_NULL. 

ERRORS

1 Graphics device is not initialized for this operation. 

24 Segment not open. 

LANGUAGE DEPENDENCIES

The include files defining the integer codes for the element types are:

C: /usr/include/sbdl.c.h

FORTRAN77:
/usr/include/sbdl.f2.h

Pascal: /usr/include/sbdl.p1.h

SEE ALSO

inq_ele(3G), inq_ele_control(3G), inq_content(3G),
print_element(3G).

Hewlett-Packard Company  —  HP-UX Release 9.10: April 1995

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