XtSetWarningHandler(3)

XtSetWarningHandler3

Low-level error handlers

Part of XtError(3).

Usage

#include <X11/Intrinsic.h>

_X_NORETURN void XtError(const char *message);

void XtSetErrorHandler(_X_NORETURN XtErrorHandler handler);

void XtSetWarningHandler(XtErrorHandler handler);

void XtWarning(const char *message);

Arguments

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.

Overview

The XtError function has been superseded by XtAppError.

The XtSetErrorHandler function has been superseded by XtAppSetErrorHandler.

The XtSetWarningHandler function has been superseded by XtAppSetWarningHandler.

The XtWarning function has been superseded by XtAppWarning.

Releases

11 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11
  8. 12–13
  9. Arch

From libxt 1.3.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.