[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

INQUIRE ERROR HANDLING MODE (PHOP,*,*,*)

Purpose

Use Inquire Error Handling Mode to inquire if the error handling mode is set to either ON or OFF.

To set the mode, use the Set Error Handling Mode subroutine The default error handling mode is ON.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the value in the output parameter. If the information is unavailable, then the value returned in the output parameter is unpredictable and the graPHIGS API sets the error indicator to the following error:

2
Function Requires State (PHOP,*,*,*)

Language Bindings

C

pinq_err_hand_mode (err_ind, err_mode)

Output Parameters

Pint *err_ind
Error indicator.

Perr_mode *err_mode
Error handling mode (0=PERR_OFF, 1=PERR_ON).

FORTRAN

PQERHM (errind, erhm)

Output Parameters

integer errind
Error indicator.

integer erhm
Error handling mode (0=POFF, 1=PON).

Errors

None

Related Subroutines

  • Set Error Handling Mode


  • [ Previous | Next | Contents | Glossary | Home | Search ]