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
giiclose(3) - debian
giieventselect(3) - debian
giiopen(3) - debian
giiseteventmask(3) - debian
libgii(7) - debian
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Is UNIX an open source OS ?
Find columns in a file based on header and print to new file
Weird 'find' results
New UNIX and Linux History Sections