debian man page for giipanic

Query: giipanic

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

giiPanic(3)								GGI							       giiPanic(3)

NAME
giiPanic - Exit LibGII programs for fatal errors
SYNOPSIS
#include <ggi/gii.h> int giiPanic(const char * format, ...);
DESCRIPTION
ggiPanic(3) shuts down the application, closing all inputs, with printf(3)-style reporting to stderr, taking a format string and any addi- tional variables. giiPanic should only be used by usermode programs when something is really screwed, and they do not know what to do. The same applies for libraries, but might be used in rare situations such as corruption of critical data structures.
EXAMPLES
An unrecoverable error: if (my_important_struct->magic != MAGIC) { giiPanic("Fatal error: magic corrupted "); } libgii-1.0.x 2006-12-30 giiPanic(3)
Related Man Pages
giieventpoll(3) - debian
giiclose(3) - debian
giijoininputs(3) - debian
giiopen(3) - debian
libgii.conf(5) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Introduction
Detecting unused variables...
A (ksh) Library For and From UNIX.com