1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file       tuklib_exit.h
4/// \brief      Close stdout and stderr, and exit
5/// \note       Requires tuklib_progname and tuklib_gettext modules
6//
7//  Author:     Lasse Collin
8//
9//  This file has been put into the public domain.
10//  You can do whatever you want with this file.
11//
12///////////////////////////////////////////////////////////////////////////////
13
14#ifndef TUKLIB_EXIT_H
15#define TUKLIB_EXIT_H
16
17#include "tuklib_common.h"
18TUKLIB_DECLS_BEGIN
19
20#define tuklib_exit TUKLIB_SYMBOL(tuklib_exit)
21extern void tuklib_exit(int status, int err_status, int show_error)
22		tuklib_attr_noreturn;
23
24TUKLIB_DECLS_END
25#endif
26