source: trunk/minix/commands/elle/eesigs.h@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.4 KB
Line 
1/* ELLE - Copyright 1984, 1987 by Ken Harrenstien, SRI International
2 * This software is quasi-public; it may be used freely with
3 * like software, but may NOT be sold or made part of licensed
4 * products without permission of the author.
5 */
6/* EESIGS.H
7 * This file is only provided for inclusion only by V6 systems, where
8 * the standard /usr/include/signal.h file may not exist and thus we
9 * need to do our own definitions.
10 */
11
12/* Signals marked with "*" cause a core image dump
13 * if not caught or ignored. */
14
15#define SIGHUP 1 /* Hangup (eg dialup carrier lost) */
16#define SIGINT 2 /* Interrupt (user TTY interrupt) */
17#define SIGQUIT 3 /* * Quit (user TTY interrupt) */
18#define SIGILL 4 /* * Illegal Instruction (not reset when caught) */
19#define SIGTRAP 5 /* * Trace Trap (not reset when caught) */
20#define SIGIOT 6 /* * IOT instruction */
21#define SIGEMT 7 /* * EMT instruction */
22#define SIGFPE 8 /* * Floating Point Exception */
23#define SIGKILL 9 /* Kill (cannot be caught or ignored) */
24#define SIGBUS 10 /* * Bus Error */
25#define SIGSEGV 11 /* * Segmentation Violation */
26#define SIGSYS 12 /* * Bad argument to system call */
27#define SIGPIPE 13 /* Write on a pipe with no one to read it */
28#define SIGALRM 14 /* Alarm Clock */
29#define SIGTERM 15 /* Software termination signal (from "kill" pgm) */
30
31#define SIG_DFL (int (*)())0 /* Arg to "signal" to resume default action */
32#define SIG_IGN (int (*)())1 /* Arg to "signal" to ignore this sig */
Note: See TracBrowser for help on using the repository browser.