Update THANKS.
[xz/debian.git] / src / common / tuklib_exit.h
blobb11776f0e5bfece01e178450a1e7af4796831fe8
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.
12 ///////////////////////////////////////////////////////////////////////////////
14 #ifndef TUKLIB_EXIT_H
15 #define TUKLIB_EXIT_H
17 #include "tuklib_common.h"
18 TUKLIB_DECLS_BEGIN
20 #define tuklib_exit TUKLIB_SYMBOL(tuklib_exit)
21 extern void tuklib_exit(int status, int err_status, int show_error)
22 tuklib_attr_noreturn;
24 TUKLIB_DECLS_END
25 #endif