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
giieventpoll(3) - debian
giiinit(3) - debian
giiopen(3) - debian
giiqueryvalinfo(3) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
One instance of comparing grep and awk
A (ksh) Library For and From UNIX.com