diff options
Diffstat (limited to 'include/util.h')
-rwxr-xr-x | include/util.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h new file mode 100755 index 0000000..9418824 --- /dev/null +++ b/include/util.h @@ -0,0 +1,11 @@ +#ifndef _UTIL_H_ +#define _UTIL_H_ +#include <stdnoreturn.h> + +/** + * Kill program by printing message `*s` and errno. + * + * Shuts down ncurses before killing program. + */ +noreturn void die(const char *s); +#endif |