exit(int)
in C and C++ code.
More...
#include "Teuchos_ConfigDefs.hpp"
Go to the source code of this file.
Defines | |
#define | TEUCHOS_EXIT(ERROR_CODE) Teuchos_exit_helper( __FILE__, __LINE__, 0, ERROR_CODE ) |
Macro to replace call to exit(...) . | |
#define | TEUCHOS_MSG_EXIT(MSG, ERROR_CODE) Teuchos_exit_helper( __FILE__, __LINE__, MSG, ERROR_CODE ) |
Macro to replace call to exit(...) and add a message string. | |
Functions | |
void | Teuchos_exit_helper (char file[], int line, char msg[], int error_code) |
Function with C linkage that rases a C++ exception. |
exit(int)
in C and C++ code.
Definition in file Teuchos_exit.h.