Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PrDefErrMsg(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XmuPrintDefaultErrorMessage — print the standard protocol error message. 

SYNOPSIS

#include <X11/Xmu/Error.h>

int XmuPrintDefaultErrorMessage(display, event, fp)
      Display ∗display;
      XErrorEvent ∗event;
      FILE ∗fp;

ARGUMENTS

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

eventSpecifies the error event whose contents will be printed. 

fpSpecifies where to print the error message. 

DESCRIPTION

XmuPrintDefaultErrorMessage prints an error message, equivalent to Xlib’s default error message for protocol errors.  It returns a non-zero value if the caller should consider exiting, otherwise it returns zero.  This function can be used when you need to write your own error handler, but need to print out an error from within that handler. 

SEE ALSO

XmuSimpleErrorHandler. 

Xlib Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026