verrx

Name

verrx -- display formatted error messages

Synopsis

#include <err.h>

void verrx(int eval, const char *fmt, valist args);

Description

The verrx() function displays a formatted error message on the standard error output. The last component of the program name, a colon character, and a space are output. If the fmt argument is not NULL, the formatted error message, a colon character, and a space are output. The output is followed by a newline character.

The verrx() function does not return, but exits with the value of the argument eval.