12 #include "../stdafx.h" 14 #include "../safeguards.h" 22 error(
"Out of memory. Cannot allocate " PRINTF_SIZE
" bytes", size);
31 error(
"Out of memory. Cannot reallocate " PRINTF_SIZE
" bytes", size);
void NORETURN MallocError(size_t size)
Function to exit with an error message after malloc() or calloc() have failed.
void CDECL error(const char *s,...)
Error handling for fatal non-user errors.
void NORETURN ReallocError(size_t size)
Function to exit with an error message after realloc() have failed.