Commit | Line | Data |
---|---|---|
718e74ba KB |
1 | /*- |
2 | * Copyright (c) 1991 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * Kenneth Almquist. | |
7 | * | |
8 | * %sccs.include.redist.c% | |
9 | * | |
10 | * @(#)trap.h 5.1 (Berkeley) %G% | |
11 | */ | |
12 | ||
13 | extern int pendingsigs; | |
14 | ||
15 | #ifdef __STDC__ | |
16 | void clear_traps(void); | |
17 | int setsignal(int); | |
18 | void ignoresig(int); | |
19 | void dotrap(void); | |
20 | void setinteractive(int); | |
21 | void exitshell(int); | |
22 | #else | |
23 | void clear_traps(); | |
24 | int setsignal(); | |
25 | void ignoresig(); | |
26 | void dotrap(); | |
27 | void setinteractive(); | |
28 | void exitshell(); | |
29 | #endif |