SIGBUS needs its own number. Removed SIGEMT. Made SIGIOT conditional on
_MINIX.
This commit is contained in:
parent
36a571d78f
commit
d430c4fac8
@ -31,8 +31,7 @@ typedef unsigned long sigset_t;
|
||||
#define SIGILL 4 /* illegal instruction */
|
||||
#define SIGTRAP 5 /* trace trap (not reset when caught) */
|
||||
#define SIGABRT 6 /* IOT instruction */
|
||||
#define SIGIOT 6 /* SIGABRT for people who speak PDP-11 */
|
||||
#define SIGUNUSED 7 /* spare code */
|
||||
#define SIGBUS 7 /* bus error */
|
||||
#define SIGFPE 8 /* floating point exception */
|
||||
#define SIGKILL 9 /* kill (cannot be caught or ignored) */
|
||||
#define SIGUSR1 10 /* user defined signal # 1 */
|
||||
@ -43,9 +42,6 @@ typedef unsigned long sigset_t;
|
||||
#define SIGTERM 15 /* software termination signal from kill */
|
||||
#define SIGCHLD 17 /* child process terminated or stopped */
|
||||
|
||||
#define SIGEMT 7 /* obsolete */
|
||||
#define SIGBUS 10 /* obsolete */
|
||||
|
||||
/* MINIX specific signals. These signals are not used by user proceses,
|
||||
* but meant to inform system processes, like the PM, about system events.
|
||||
*/
|
||||
@ -67,6 +63,10 @@ typedef unsigned long sigset_t;
|
||||
#define SIGTTIN 21 /* background process wants to read */
|
||||
#define SIGTTOU 22 /* background process wants to write */
|
||||
|
||||
#ifdef _MINIX
|
||||
#define SIGIOT SIGABRT /* for people who speak PDP-11 */
|
||||
#endif
|
||||
|
||||
/* The sighandler_t type is not allowed unless _POSIX_SOURCE is defined. */
|
||||
typedef void _PROTOTYPE( (*__sighandler_t), (int) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user