signal.h

Go to the documentation of this file.
00001 //& ****************************************************************************
00002 //&
00003 //& Written by Ingo Blank, August 2005
00004 //& 
00005 //& Copyright (C) 2004,2005 Ingo Blank, The HP-GCC Development Team
00006 //&
00007 //& ****************************************************************************
00008 //&
00009 //&
00010 //& This file is part of HP-GCC.
00011 //&
00012 //& HP-GCC is free software; you can redistribute it and/or modify
00013 //& it under the terms of the GNU General Public License as published by
00014 //& the Free Software Foundation; either version 2, or (at your option)
00015 //& any later version.
00016 //& 
00017 //& HP-GCC is distributed in the hope that it will be useful,
00018 //& but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 //& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020 //& GNU General Public License for more details.
00021 //& 
00022 //& You should have received a copy of the GNU General Public License
00023 //& along with HP-GCC; see the file COPYING. 
00024 //&
00025 //& As a special exception, you may use this file as part of a free software
00026 //& library without restriction.  Specifically, if other files instantiate
00027 //& templates or use macros or inline functions from this file, or you compile
00028 //& this file and link it with other files to produce an executable, this
00029 //& file does not by itself cause the resulting executable to be covered by
00030 //& the GNU General Public License.  This exception does not however
00031 //& invalidate any other reasons why the executable file might be covered by
00032 //& the GNU General Public License.
00033 //&
00034 //& ****************************************************************************
00035 
00036 // $Header: $
00037 
00038 #ifndef __SIGNAL_H
00039 #define __SIGNAL_H
00040 
00041 
00042 /*
00043  * Pro forma declarations.
00044  * HP-GCC does not support signals, but these decls are required by some modules.
00045  *
00046  */
00047 
00048 typedef void (*sighandler_t)(int);
00049 
00050 #define SIGHUP         1
00051 #define SIGINT         2
00052 #define SIGQUIT         3
00053 #define SIGILL         4
00054 #define SIGTRAP         5
00055 #define SIGABRT         6
00056 #define SIGIOT         6
00057 #define SIGBUS         7
00058 #define SIGFPE         8
00059 #define SIGKILL         9
00060 #define SIGUSR1        10
00061 #define SIGSEGV        11
00062 #define SIGUSR2        12
00063 #define SIGPIPE        13
00064 #define SIGALRM        14
00065 #define SIGTERM        15
00066 #define SIGSTKFLT    16
00067 #define SIGCHLD        17
00068 #define SIGCONT        18
00069 #define SIGSTOP        19
00070 #define SIGTSTP        20
00071 #define SIGTTIN        21
00072 #define SIGTTOU        22
00073 #define SIGURG        23
00074 #define SIGXCPU        24
00075 #define SIGXFSZ        25
00076 #define SIGVTALRM    26
00077 #define SIGPROF        27
00078 #define SIGWINCH    28
00079 #define SIGIO        29
00080 #define SIGPOLL        SIGIO
00081 /*
00082 #define SIGLOST        29
00083 */
00084 #define SIGPWR        30
00085 #define SIGSYS        31
00086 
00087 
00088 int raise(int);
00089 sighandler_t signal(int sig, sighandler_t handler);
00090 
00091 #endif

Generated on Sat Feb 17 00:05:26 2007 for HP-GCCLibrary by  doxygen 1.5.0