blob: c007187ada1caaabee6561c6c13d9517a416d59b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include <stddef.h>
__attribute__((__noreturn__, format(printf, 1, 2)))
void error_and_die(char *format, ...);
__attribute__((__noreturn__, format(printf, 1, 2)))
void perror_and_die(char *format, ...);
void *xalloc(size_t amount);
void *xrealloc(void *ptr, size_t amount);
|