12 lines
210 B
C
12 lines
210 B
C
|
#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
|