ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/signal.h
(Generate patch)

Comparing ray/src/common/signal.h (file contents):
Revision 2.1 by greg, Sun Sep 6 13:50:07 1992 UTC vs.
Revision 2.2 by greg, Mon Sep 21 12:04:23 1992 UTC

# Line 10 | Line 10
10  
11   #define NSIG    2
12  
13 < #define SIGHUP  1       /* hangup */
14 < #define SIGINT  1       /* interrupt */
15 < #define SIGQUIT 1       /* quit */
16 < #define SIGILL  1       /* illegal instruction (not reset when caught) */
17 < #define SIGTRAP 1       /* trace trap (not reset when caught) */
18 < #define SIGIOT  1       /* IOT instruction */
19 < #define SIGEMT  1       /* EMT instruction */
20 < #define SIGFPE  1       /* floating point exception */
21 < #define SIGKILL 1       /* kill (cannot be caught or ignored) */
22 < #define SIGBUS  1       /* bus error */
23 < #define SIGSEGV 1       /* segmentation violation */
24 < #define SIGSYS  1       /* bad argument to system call */
25 < #define SIGPIPE 1       /* write on a pipe with no one to read it */
26 < #define SIGALRM 1       /* alarm clock */
27 < #define SIGTERM 1       /* software termination signal from kill */
28 < #define SIGURG  1       /* urgent condition on IO channel */
29 < #define SIGSTOP 1       /* sendable stop signal not from tty */
30 < #define SIGTSTP 1       /* stop signal from tty */
31 < #define SIGCONT 1       /* continue a stopped process */
32 < #define SIGCHLD 1       /* to parent on child stop or exit */
33 < #define SIGTTIN 1       /* to readers pgrp upon background tty read */
34 < #define SIGTTOU 1       /* like TTIN for output if (tp->t_local&LTOSTOP) */
35 < #define SIGIO   1       /* input/output possible signal */
36 < #define SIGLOST 1       /* resource lost (eg, record-lock lost) */
13 > #define SIGHUP  1       /* hangup */
14 > #define SIGINT  1       /* interrupt */
15 > #define SIGQUIT 1       /* quit */
16 > #define SIGILL  1       /* illegal instruction (not reset when caught) */
17 > #define SIGTRAP 1       /* trace trap (not reset when caught) */
18 > #define SIGIOT  1       /* IOT instruction */
19 > #define SIGEMT  1       /* EMT instruction */
20 > #define SIGFPE  1       /* floating point exception */
21 > #define SIGKILL 1       /* kill (cannot be caught or ignored) */
22 > #define SIGBUS  1       /* bus error */
23 > #define SIGSEGV 1       /* segmentation violation */
24 > #define SIGSYS  1       /* bad argument to system call */
25 > #define SIGPIPE 1       /* write on a pipe with no one to read it */
26 > #define SIGALRM 1       /* alarm clock */
27 > #define SIGTERM 1       /* software termination signal from kill */
28 > #define SIGURG  1       /* urgent condition on IO channel */
29 > #define SIGCONT 1       /* continue a stopped process */
30 > #define SIGCHLD 1       /* to parent on child stop or exit */
31 > #define SIGTTIN 1       /* to readers pgrp upon background tty read */
32 > #define SIGTTOU 1       /* like TTIN for output if (tp->t_local&LTOSTOP) */
33 > #define SIGIO   1       /* input/output possible signal */
34 > #define SIGLOST 1       /* resource lost (eg, record-lock lost) */
35  
36 < #define BADSIG          (int (*)())-1
37 < #define SIG_DFL         (int (*)())0
38 < #define SIG_IGN         (int (*)())1
36 > #define BADSIG          (int (*)())-1
37 > #define SIG_DFL         (int (*)())0
38 > #define SIG_IGN         (int (*)())1
39  
40   /*
41   * Macro for converting signal number to a mask suitable for sigblock().
# Line 47 | Line 45
45   #define signal(n,f)     SIG_DFL
46  
47   #define sigblock(m)     0
48 +
49 + #define alarm(t)        0
50  
51   #else
52  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines