• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 * Disktest
3 * Copyright (c) International Business Machines Corp., 2005
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 *
19 *  Please send e-mail to yardleyb@us.ibm.com if you have
20 *  questions or comments.
21 *
22 *  Project Website:  TBD
23 *
24 * $Id: signals.h,v 1.1 2008/02/14 08:22:24 subrata_modak Exp $
25 */
26 
27 #ifndef SIGNALS_H
28 #define SIGNALS_H 1
29 
30 #define SIGNAL_NONE 0x0000
31 #define SIGNAL_STOP 0x0001
32 #define SIGNAL_STAT 0x0002
33 
34 #ifdef WINDOWS
35 #define SIGQUIT	0x03	/* Definition from POSIX */
36 #define SIGHUP	0x01	/* Definition from POSIX */
37 #define SIGUSR1	0x10	/* Definition from POSIX */
38 #endif
39 
40 void setup_sig_mask( void );
41 void clear_stat_signal( void );
42 
43 #endif /* SIGNALS_H */
44