logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning - low-level error handlers

Arguments

app_context
                 Specifies the application context.

       message   Specifies the nonfatal error message that is to be reported.

       handler   Specifies  the  new  fatal  error  procedure,  which  should  not return, or the nonfatal error
                 procedure, which usually returns.

       message   Specifies the message that is to be reported.

Description

       The XtAppError function calls the installed error procedure and passes the specified message.

       The XtAppSetErrorHandler function registers the specified procedure, which is called when a  fatal  error
       condition occurs.

       The  XtAppSetWarningHandler  registers  the  specified  procedure,  which is called when a nonfatal error
       condition occurs.

       The XtAppWarning function calls the installed nonfatal error procedure and passes the specified message.

Name

       XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning - low-level error handlers

See Also

XtAppGetErrorDatabase(3), XtAppErrorMsg(3)
       XToolkitIntrinsics-CLanguageInterfaceXlib-CLanguageXInterface

X Version 11                                       libXt 1.2.1                                     XtAppError(3)

Syntax

       #include <X11/Intrinsic.h>

       void XtAppError(XtAppContext app_context, const char *message);

       XtErrorHandler XtAppSetErrorHandler(XtAppContext app_context, XtErrorHandler handler);

       XtErrorHandler XtAppSetWarningHandler(XtAppContext app_context, XtErrorHandler handler);

       void XtAppWarning(XtAppContext app_context, const char *message);

See Also