Rechercher une page de manuel
ggiPanic
Langue: en
Version: 277081 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
ggiPanic - Exit LibGGI programs for fatal errorsSYNOPSIS
#include <ggi/ggi.h> void ggiPanic(const char *format, ...);
DESCRIPTION
ggiPanic shuts down the application, closing all visuals, with printf(3)-style reporting to stderr, taking a format string and any additional variables.ggiPanic 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.
RETURN VALUE
Never returns.EXAMPLES
An unrecoverable error:if (my_important_struct->magic != MAGIC) { ggiPanic("Fatal error: structure is corrupted\n"); }
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre