NAME

err.c - error functions

Version Tag $Id: err.c,v 1.21 2006/02/06 19:55:46 db60 Exp $


crash - CRASH VERBOSELY

SYNOPSIS

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

DESCRIPTION

Prints a message consisting of 'FATAL ERROR: ' followed by a user-supplied, vfprintf-acceptable message. Then calls cleanup() and exits abnormally.

PARAMETERS

INPUT

fmt

Pointer to the first character in a format string acceptable to vfprintf().

...

Any parameters whose presence is dictated by fmt.


scream - log dire warning

SYNOPSIS

    void scream(const char *format, ...);

DESCRIPTION

Prints a message consisting of 'ERROR: ' followed by a user-supplied, vfprintf-acceptable message.

PARAMETERS

INPUT

format

Pointer to the first character in a format string acceptable to vfprintf().

...

Any parameters whose presence is dictated by format.