menu: added new Keywords tag to .desktop files
[barry.git] / wince / wrappers / signal.h
blob08c0ca53bd60c2c470c4b99b0419c933907cb10d
1 ///
2 /// \file signal.h
3 /// Wrapper header file to aid porting to WinCE
4 ///
6 /*
7 Copyright (C) 2012, RealVNC Ltd.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 See the GNU General Public License in the COPYING file at the
19 root directory of this project for more details.
22 #ifndef SIGNAL_H
23 #define SIGNAL_H
25 #define SIG_ERR 0
27 #define SIGHUP 1
28 #define SIGINT 2
29 #define SIGQUIT 3
30 #define SIGTERM 15
32 typedef void (*sighandler_t)(int);
34 sighandler_t signal(int signum, sighandler_t handler);
36 #endif // SIGNAL_H