.\"## .\" $XConsortium: p135,v 5.2 94/04/17 20:56:00 rws Exp $ .\"## .\"## $XMCOPY .\"## Copyright (c) 1990, 1991 by Sun Microsystems, Inc. .\"## .\"## All Rights Reserved .\"## .\"## Permission to use, copy, modify, and distribute this software and its .\"## documentation for any purpose and without fee is hereby granted, .\"## provided that the above copyright notice appear in all copies and that .\"## both that copyright notice and this permission notice appear in .\"## supporting documentation, and that the name of Sun Microsystems, .\"## not be used in advertising or publicity .\"## pertaining to distribution of the software without specific, written .\"## prior permission. .\"## .\"## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, .\"## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO .\"## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR .\"## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF .\"## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR .\"## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\"## PERFORMANCE OF THIS SOFTWARE. .TH "INQUIRE ERROR HANDLING MODE" 3P "29 February 1991" .SH NAME INQUIRE ERROR HANDLING MODE \- inquire the current error handling mode .SH SYNOPSIS .SS C Syntax .ft B .ta 1.25i 3i .nf void pinq_err_hand_mode ( error_ind, mode ) Pint *error_ind; \fI\s-2OUT\s+2 error indicator\fP Perr_mode *mode; \fI\s-2OUT\s+2 error mode\fP .fi .ft R .SS Required PHIGS Operating States (PHOP, *, *, *) .SH DESCRIPTION .SS Purpose Use \s-2INQUIRE ERROR HANDLING MODE\s+2 to determine the current error handling mode. Error handling may be \s-2ON\s+2 or \s-2OFF\s+2. .LP See the description of the subroutine \s-2SET ERROR HANDLING MODE\s+2 for more information. .SS C Output Parameters .IP \fIerror_ind\fP A pointer to the location to store the error number of any error detected by this function. .IP \fImode\fP A pointer to a Perr_mode enumerated type, in which the system returns the current error handling mode. Values for Perr_mode are defined in phigs.h as follows: .sp .ta .5i .nf PERR_OFF PERR_ON .fi .sp .SH ERRORS .IP 002 Ignoring function, function requires state (\s-2PHOP, *, *, *\s+2) .SH SEE ALSO .nf .IP .ta 0.5i .SM "ERROR HANDLING (3P)" .SM "ERROR LOGGING (3P)" .fi