MOAB: Mesh Oriented datABase  (version 5.2.1)
errmem.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include "moab/FindPtFuncs.h"
+ Include dependency graph for errmem.c:

Go to the source code of this file.

Functions

void fail (const char *fmt,...)

Function Documentation

void fail ( const char *  fmt,
  ... 
)

Definition at line 6 of file errmem.c.

Referenced by NumericalTestOF::evaluate(), main(), ZoltanPartitioner::mbGlobalSuccess(), runner_run_tests(), scalloc(), smalloc(), and srealloc().

{
    va_list ap;
    va_start( ap, fmt );
    vfprintf( stderr, fmt, ap );
    va_end( ap );
    exit( 1 );
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines