Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinqeditmode(3P) — PHIGS 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INQUIRE EDIT MODE(3P)  —  SUNPHIGS LIBRARY

NAME

INQUIRE EDIT MODE − inquire current edit mode for structure

SYNOPSIS

C Syntax

void
pinqeditmode ( error_ind, edit_mode )
Pint∗error_ind;OUT error indicator
Peditmode∗edit_mode;OUT edit mode

FORTRAN Syntax

SUBROUTINE pqedm ( ERRIND, EDITMO )
INTEGERERRINDOUT error indicator
INTEGEREDITMOOUT edit mode (PINSRT, PREPLC)

Required PHIGS Operating States

(PHOP, ∗, ∗, ∗)

DESCRIPTION

Purpose

Use INQUIRE EDIT MODE to determine the current edit mode for structures.  The edit mode may be INSERT or REPLACE. 

See the description of the subroutine SET EDIT MODE for information on the meaning of these modes. 

C Output Parameters

error_ind
A pointer to the location to store the error number of any error detected by this function.

edit_mode
A pointer to a Peditmode enumerated type in which the system returns the current structure edit mode. Values for Peditmode are defined in phigs.h as follows:

PEDIT_INSERT
PEDIT_REPLACE

FORTRAN Output Parameters

ERRIND
The error number of any error detected by this function.

EDITMO
The current structure edit mode, defined in phigs77.h as follows:

PINSRTInsert
PREPLCReplace

ERRORS

002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)

SEE ALSO

SET EDIT MODE (3P)

Sun Release 4.0  —  Last change: 1 August 1989

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