JWM Source Documentation

error.h File Reference

Header for the error functions. More...

Go to the source code of this file.

Functions

void FatalError (const char *str,...)
 Display and error message and terminate the program.
void Warning (const char *str,...)
 Display a warning message.
void WarningVA (const char *part, const char *str, va_list ap)
 Display a warning message.
int ErrorHandler (Display *d, XErrorEvent *e)
 Handle an XError event.

Detailed Description

Header for the error functions.

Author:
Joe Wingbermuehle
Date:
2004-2006

Definition in file error.h.


Function Documentation

int ErrorHandler ( Display *  d,
XErrorEvent *  e 
)

Handle an XError event.

Parameters:
dThe display on which the event occurred.
eThe error event.
Returns:
0
void FatalError ( const char *  str,
  ... 
)

Display and error message and terminate the program.

Parameters:
strThe format of the message to display.
void Warning ( const char *  str,
  ... 
)

Display a warning message.

Parameters:
strThe format of the message to display.
void WarningVA ( const char *  part,
const char *  str,
va_list  ap 
)

Display a warning message.

Parameters:
partA section identifier for the message.
strThe format string of the message to display.
apThe argument list.