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
Function Documentation
| int ErrorHandler | ( | Display * | d, |
| XErrorEvent * | e | ||
| ) |
Handle an XError event.
- Parameters:
-
d The display on which the event occurred. e The error event.
- Returns:
- 0
| void FatalError | ( | const char * | str, |
| ... | |||
| ) |
Display and error message and terminate the program.
- Parameters:
-
str The format of the message to display.
| void Warning | ( | const char * | str, |
| ... | |||
| ) |
Display a warning message.
- Parameters:
-
str The format of the message to display.
| void WarningVA | ( | const char * | part, |
| const char * | str, | ||
| va_list | ap | ||
| ) |
Display a warning message.
- Parameters:
-
part A section identifier for the message. str The format string of the message to display. ap The argument list.