giipanic(3) debian man page | unix.com

Man Page: giipanic

Operating Environment: debian

Section: 3

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
giiaddeventmask(3) - debian
giiclose(3) - debian
giiexit(3) - debian
giiqueryvalinfo(3) - debian
giisplitinputs(3) - 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