hardened_malloc/util.c

13 lines
219 B
C
Raw Normal View History

2018-08-21 21:23:22 +02:00
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "util.h"
COLD noreturn void fatal_error(const char *s) {
write(STDERR_FILENO, s, strlen(s));
write(STDERR_FILENO, "\n", 1);
abort();
}