_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 calls "abort" 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". For a full description of the formatting used by "_abort", see the documentation for "printf".

If you omit all arguments for this function, it behaves the same as the standard "abort" function.

See Also:

expl c lib printf

expl c lib abort

Copyright © 1996, Thinkage Ltd.