aboutsummaryrefslogtreecommitdiff
path: root/include/helpers.h
blob: 276b590e93e8ab2788e7d05ceb126cdcacd9d7e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef HELPERS_H
#define HELPERS_H

#include <stdlib.h>

void die_lz(int code, const char *msg);

void die(const char *msg);

void *safe_calloc(unsigned int i, size_t size);

void *safe_realloc(void *x, size_t size);

void alloc_zero(void *ptr, size_t size);
#endif