err man page on Scientific

Printed from http://www.polarhome.com/service/man/?qf=err&af=0&tf=2&of=Scientific

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

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

SYNOPSIS
       #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);

DESCRIPTION
       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‐