aboutsummaryrefslogtreecommitdiff
path: root/include/error.h
blob: d966e0e74c2c351b9c7c8b7737e099253c5e0100 (plain) (blame)
1
2
3
4
5
6
7
#ifndef _ERROR_H
#define _ERROR_H 1
#endif

#include <errno.h>

#define error(status, errnum, message, ...) perror(message); exit(status);