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
giieventpoll(3) - debian
giieventselect(3) - debian
giigeteventmask(3) - debian
giiopen(3) - debian
giiseteventmask(3) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Introduction
One instance of comparing grep and awk
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections