qvm_fatal()
Output a formatted string for a fatal or internal error
Synopsis:
#include <qvm/outpipe.h>void qvm_fatal(const unsigned int attr,
const char *const fmt,
...)Arguments:
- attr
- The message-level attribute.
- fmt
- A pointer to a printf-like formatted string.
- ...
- Optional arguments for the string referenced by fmt.
Description:
This function outputs a string formatted in printf() style to the outpipes defined in the configuration. It is similar to qvm_logf() but is designed for fatal (QVM_OUTAL_FATAL) or internal (QVM_OUTAL_INTERNAL) errors, and must be used for these errors only. For other types of errors, use qvm_logf() instead.
The calling process exits immediately after the output is complete.
Page updated:
