_ABORT - write error message and produce a dump.

(Not in the ANSI standard)

Usage:

#include <sdgstd.h>
_abort( format [, arg1, arg2, ...] );

Where:

const char *format;
is a "printf"-style format string.
arg1,arg2,...
is a variable argument list of values to be printed out in the diagnostic message produced by "_abort".

Description:

"_abort" writes a formatted message to "stderr", then does an abort operation to dump the program. This call can be used when a "should never happen" event happens.

"_abort" converts, formats, and prints its arguments under control of the string "format".

If all arguments are omitted, just the abort is performed.

See Also:

expl c lib printf
for a full description of the formatting used.
expl c lib abort
for an ANSI standard abort routine.

Copyright © 2000, Thinkage Ltd.