diff options
Diffstat (limited to 'src/signal')
| -rw-r--r-- | src/signal/SIGABRT.c | 3 | ||||
| -rw-r--r-- | src/signal/SIGALRM.c | 3 | ||||
| -rw-r--r-- | src/signal/SIGFPE.c | 2 | ||||
| -rw-r--r-- | src/signal/SIGHUP.c | 5 | ||||
| -rw-r--r-- | src/signal/SIGILL.c | 2 | ||||
| -rw-r--r-- | src/signal/SIGINT.c | 3 | ||||
| -rw-r--r-- | src/signal/SIGKILL.c | 1 | ||||
| -rw-r--r-- | src/signal/SIGQUIT.c | 3 | ||||
| -rw-r--r-- | src/signal/SIGSEGV.c | 2 | ||||
| -rw-r--r-- | src/signal/SIGTERM.c | 3 |
10 files changed, 17 insertions, 10 deletions
diff --git a/src/signal/SIGABRT.c b/src/signal/SIGABRT.c index f1878ecf..ce42a249 100644 --- a/src/signal/SIGABRT.c +++ b/src/signal/SIGABRT.c @@ -1,10 +1,11 @@ #include <signal.h> -#define SIGABRT (1) +#define SIGABRT (6) /** abnormal termination **/ /*** is a signal indicating that the program is being terminated abnormally, such as when FUNCTION(abort) is called. ***/ +/* Value selected to match requirements for COMMAND(kill) and COMMAND(trap). */ /* STDC(1) */ diff --git a/src/signal/SIGALRM.c b/src/signal/SIGALRM.c index 10f61118..63a337fa 100644 --- a/src/signal/SIGALRM.c +++ b/src/signal/SIGALRM.c @@ -1,6 +1,7 @@ #include <signal.h> -#define SIGALRM (11) +#define SIGALRM (14) /*s Alarm s*/ +/* Value selected to match requirements for COMMAND(kill) and COMMAND(trap). */ /* POSIX(1) */ diff --git a/src/signal/SIGFPE.c b/src/signal/SIGFPE.c index c61c78fe..995a21c2 100644 --- a/src/signal/SIGFPE.c +++ b/src/signal/SIGFPE.c @@ -1,5 +1,5 @@ #include <signal.h> -#define SIGFPE (2) +#define SIGFPE (4) /** floating point exception **/ /*** is a signal that indicates an error resulting from invalid arithmetic diff --git a/src/signal/SIGHUP.c b/src/signal/SIGHUP.c index 8433a252..d2613613 100644 --- a/src/signal/SIGHUP.c +++ b/src/signal/SIGHUP.c @@ -1,6 +1,7 @@ #include <signal.h> -#define SIGHUP (15) -/*s Hang-up s*/ +#define SIGHUP (0) +/** Hang-up **/ +/* Value selected to match requirements for COMMAND(kill) and COMMAND(trap). */ /* POSIX(1) */ diff --git a/src/signal/SIGILL.c b/src/signal/SIGILL.c index 1d6c588f..bd6afce8 100644 --- a/src/signal/SIGILL.c +++ b/src/signal/SIGILL.c @@ -1,5 +1,5 @@ #include <signal.h> -#define SIGILL (3) +#define SIGILL (5) /** illegal instruction **/ /*** is a signal indicating that the program has attempted to execute an illegal diff --git a/src/signal/SIGINT.c b/src/signal/SIGINT.c index 32169d73..d335bbe2 100644 --- a/src/signal/SIGINT.c +++ b/src/signal/SIGINT.c @@ -1,9 +1,10 @@ #include <signal.h> -#define SIGINT (4) +#define SIGINT (2) /** interrupt **/ /*** is a signal that indicates the program is being interactively interrupted. ***/ +/* Value selected to match requirements for COMMAND(kill) and COMMAND(trap). */ /* STDC(1) */ diff --git a/src/signal/SIGKILL.c b/src/signal/SIGKILL.c index 65f58cce..5ee04b92 100644 --- a/src/signal/SIGKILL.c +++ b/src/signal/SIGKILL.c @@ -1,6 +1,7 @@ #include <signal.h> #define SIGKILL (9) /*s Kill s*/ +/* Value selected to match requirements for COMMAND(kill) and COMMAND(trap). */ /* POSIX(1) */ diff --git a/src/signal/SIGQUIT.c b/src/signal/SIGQUIT.c index 829cf4c6..303f57c2 100644 --- a/src/signal/SIGQUIT.c +++ b/src/signal/SIGQUIT.c @@ -1,6 +1,7 @@ #include <signal.h> -#define SIGQUIT (17) +#define SIGQUIT (3) /*s Quit s*/ +/* Value selected to match requirements for COMMAND(kill) and COMMAND(trap). */ /* POSIX(1) */ diff --git a/src/signal/SIGSEGV.c b/src/signal/SIGSEGV.c index 5d6da2b4..cfda42c2 100644 --- a/src/signal/SIGSEGV.c +++ b/src/signal/SIGSEGV.c @@ -1,5 +1,5 @@ #include <signal.h> -#define SIGSEGV (5) +#define SIGSEGV (7) /** segmentation fault **/ /*** is a signal that indicates the program is attempting to access an invalid diff --git a/src/signal/SIGTERM.c b/src/signal/SIGTERM.c index 990c0730..72dfa7ae 100644 --- a/src/signal/SIGTERM.c +++ b/src/signal/SIGTERM.c @@ -1,9 +1,10 @@ #include <signal.h> -#define SIGTERM (6) +#define SIGTERM (15) /** terminate **/ /*** is a signal indicating that the system is requesting the program to terminate. ***/ +/* Value selected to match requirements for COMMAND(kill) and COMMAND(trap). */ /* STDC(1) */ |
