HPGCC3 Documentation 3.0 R003

signal.h

Go to the documentation of this file.
00001 //& *** (c) 2006-2011 The HPGCC3 Team ***
00002 //& Claudio Lapilli
00003 //& Ingo Blank
00004 //&
00005 //& This file is licensed under the terms and conditions of the
00006 //& HPGCC3 license that is included with the source distribution.
00007 //& *** (c) 2006-2011 The HPGCC3 Team ***
00008 
00009 // $Id: signal.h 395 2007-03-05 03:47:55Z ingo $
00010 
00011 #ifndef __SIGNAL_H
00012 #define __SIGNAL_H
00013 
00014 
00015 /*
00016  * Pro forma declarations.
00017  * HP-GCC does not support signals, but these decls are required by some modules.
00018  *
00019  */
00020 
00021 typedef void (*sighandler_t)(int);
00022 
00023 #define SIGHUP         1
00024 #define SIGINT         2
00025 #define SIGQUIT         3
00026 #define SIGILL         4
00027 #define SIGTRAP         5
00028 #define SIGABRT         6
00029 #define SIGIOT         6
00030 #define SIGBUS         7
00031 #define SIGFPE         8
00032 #define SIGKILL         9
00033 #define SIGUSR1        10
00034 #define SIGSEGV        11
00035 #define SIGUSR2        12
00036 #define SIGPIPE        13
00037 #define SIGALRM        14
00038 #define SIGTERM        15
00039 #define SIGSTKFLT    16
00040 #define SIGCHLD        17
00041 #define SIGCONT        18
00042 #define SIGSTOP        19
00043 #define SIGTSTP        20
00044 #define SIGTTIN        21
00045 #define SIGTTOU        22
00046 #define SIGURG        23
00047 #define SIGXCPU        24
00048 #define SIGXFSZ        25
00049 #define SIGVTALRM    26
00050 #define SIGPROF        27
00051 #define SIGWINCH    28
00052 #define SIGIO        29
00053 #define SIGPOLL        SIGIO
00054 /*
00055 #define SIGLOST        29
00056 */
00057 #define SIGPWR        30
00058 #define SIGSYS        31
00059 
00060 
00061 int raise(int);
00062 sighandler_t signal(int sig, sighandler_t handler);
00063 
00064 #endif