molehole/include/util.h

12 lines
210 B
C
Raw Normal View History

2024-07-23 21:48:28 +00:00
#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