TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
Handle some fatal situations. More...
Namespaces | |
namespace | ts |
TSDuck namespace, containing all TSDuck classes and functions. | |
Macros | |
#define | TS_FATAL(literal) |
Abort the application with a fatal error message. | |
#define | TS_FATALMSG(literal) "\n\n*** " literal ", aborting...\n\n" |
Build a string literal for fatal error messages. | |
Functions | |
void | ts::CheckNonNull (const void *ptr) |
Check the value of a pointer and abort the application when zero. | |
void | ts::FatalError (const char *message, size_t length) |
Handle a fatal error. | |
void | ts::FatalMemoryAllocation () |
Handle fatal memory allocation failure. | |
Handle some fatal situations.
#define TS_FATALMSG | ( | literal | ) | "\n\n*** " literal ", aborting...\n\n" |
Build a string literal for fatal error messages.
literal | 8-bit string literal |
#define TS_FATAL | ( | literal | ) |
Abort the application with a fatal error message.
literal | 8-bit string literal error message. |