libexplain  1.4.D001
Functions
libexplain/output/error_and_die.c File Reference
#include <libexplain/ac/limits.h>
#include <libexplain/ac/stdarg.h>
#include <libexplain/ac/stdio.h>
#include <libexplain/ac/string.h>
#include <libexplain/ac/sys/param.h>
#include <libexplain/option.h>
#include <libexplain/output.h>
#include <libexplain/program_name.h>
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_output_error_and_die (const char *format,...)

Function Documentation

void explain_output_error_and_die ( const char *  fmt,
  ... 
)

The explain_output_error_and_die function is used to print text, and then terminate immediately. The printing is done via the explain_output_message function, explain_output_exit function.

Parameters:
fmtThe format text of the message to be printed. See printf(3) for more information.

Definition at line 33 of file error_and_die.c.