Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
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

◆ fail()

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

Definition at line 6 of file errmem.c.

7 {
8  va_list ap;
9  va_start( ap, fmt );
10  vfprintf( stderr, fmt, ap );
11  va_end( ap );
12  exit( 1 );
13 }

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