This repository has been archived on 2021-09-16. You can view files and clone it, but cannot push or open issues or pull requests.
msh/err.h

17 lines
316 B
C
Raw Permalink Normal View History

2021-09-15 14:39:02 +02:00
#ifndef _ACRON_ERR_H
#define _ACRON_ERR_H
/* Helper error/error-ing functions, like die() and dying versions of memory
* allocating functions */
#include <stdlib.h>
void die(const char *, ...);
/* Erroring functions */
void *emalloc(size_t);
void *erealloc(void *, size_t);
char *estrdup(const char *);
#endif