1207753Smm///////////////////////////////////////////////////////////////////////////////
2207753Smm//
3207753Smm/// \file       tuklib_exit.h
4207753Smm/// \brief      Close stdout and stderr, and exit
5207753Smm/// \note       Requires tuklib_progname and tuklib_gettext modules
6207753Smm//
7207753Smm//  Author:     Lasse Collin
8207753Smm//
9207753Smm//  This file has been put into the public domain.
10207753Smm//  You can do whatever you want with this file.
11207753Smm//
12207753Smm///////////////////////////////////////////////////////////////////////////////
13207753Smm
14207753Smm#ifndef TUKLIB_EXIT_H
15207753Smm#define TUKLIB_EXIT_H
16207753Smm
17207753Smm#include "tuklib_common.h"
18207753SmmTUKLIB_DECLS_BEGIN
19207753Smm
20207753Smm#define tuklib_exit TUKLIB_SYMBOL(tuklib_exit)
21207753Smmextern void tuklib_exit(int status, int err_status, int show_error)
22207753Smm		tuklib_attr_noreturn;
23207753Smm
24207753SmmTUKLIB_DECLS_END
25207753Smm#endif
26