INQUIRE ERROR HANDLING MODE(3P) — SUNPHIGS LIBRARY
NAME
INQUIRE ERROR HANDLING MODE − inquire the current error handling mode
SYNOPSIS
C Syntax
void
pinqerrorhandmode ( error_ind, mode )
Pint∗error_ind;OUT error indicator
Perrormode∗mode;OUT error mode
FORTRAN Syntax
SUBROUTINE pqerhm ( ERRIND, ERHM )
INTEGERERRINDOUT error indicator
INTEGERERHMOUT error handling mode (POFF, PON)
Required PHIGS Operating States
(PHOP, ∗, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE ERROR HANDLING MODE to determine the current error handling mode. Error handling may be ON or OFF.
See the description of the subroutine SET ERROR HANDLING MODE for more information.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
modeA pointer to a Perrormode enumerated type, in which the system returns the current error handling mode. Values for Perrormode are defined in phigs.h as follows:
PERROR_OFF
PERROR_ON
FORTRAN Output Parameters
ERRIND
The error number of any error detected by this function.
ERHM
The current error handling mode, defined in phigs77.h as follows:
POFF
PON
ERRORS
002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)
SEE ALSO
ESCAPE -1 (3P)
ERROR HANDLING (3P)
ERROR LOGGING (3P)
Sun Release 4.0 — Last change: 1 August 1989