warnx

Name

warnx -- formatted error messages

Synopsis

#include <err.h>

void warnx(const char *fmt ...);

Description

warnx 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 fmt is not NULL, the formatted error message, a COLON, and SPACE are output. The output is followed by a newline character.