libexplain
1.4.D001
|
#include <output.h>
Data Fields | |
struct explain_output_vtable_t * | vtable |
int | exit_has_been_used |
The explain_output_t struct is used to remember state for the classes that control libexplain's output and exit methods.
Derived classes may choose to add additonal instance variables.
POSIX and the C standard both say that it should not call 'exit', because the behavior is undefined if 'exit' is called more than once. So we call '_exit' instead of 'exit'.
This important if a libexplain funcion is called by an atexit hander, where exit has been called by libexplain.