err man page on Scientific

Printed from

ERR(3)			   Linux Programmer's Manual			ERR(3)

       err,  verr,  errx,  verrx, warn, vwarn, warnx, vwarnx - formatted error

       #include <err.h>

       void err(int eval, const char *fmt, ...);

       void errx(int eval, const char *fmt, ...);

       void warn(const char *fmt, ...);

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

       #include <stdarg.h>

       void verr(int eval, const char *fmt, va_list args);

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

       void vwarn(const char *fmt, va_list args);

       void vwarnx(const char *fmt, va_list args);

       The err() and warn() family of functions display a formatted error mes‐
       sage on the standard error output.  In all cases, the last component of
       the program name, a colon character, and a space are  output.   If  the
       fmt argument is not NULL, the printf(3)-like formatted error message is
       output.	The output is terminated by a newline character.

       The err(), verr(), warn(), and vwarn() functions append an  error  mes‐