From dc0f2ce9ba97ebb47e05b80a511da6eb29818b63 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Tue, 23 Jul 2024 17:48:28 -0400 Subject: Merge old-molehole --- include/util.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 include/util.h (limited to 'include/util.h') 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 + +/** + * Kill program by printing message `*s` and errno. + * + * Shuts down ncurses before killing program. + */ +noreturn void die(const char *s); +#endif -- cgit v1.2.3