xref: /csrg-svn/bin/sh/trap.h (revision 47146)
1*47146Sbostic /*-
2*47146Sbostic  * Copyright (c) 1991 The Regents of the University of California.
3*47146Sbostic  * All rights reserved.
4*47146Sbostic  *
5*47146Sbostic  * This code is derived from software contributed to Berkeley by
6*47146Sbostic  * Kenneth Almquist.
7*47146Sbostic  *
8*47146Sbostic  * %sccs.include.redist.c%
9*47146Sbostic  *
10*47146Sbostic  *	@(#)trap.h	5.1 (Berkeley) 03/07/91
11*47146Sbostic  */
12*47146Sbostic 
13*47146Sbostic extern int pendingsigs;
14*47146Sbostic 
15*47146Sbostic #ifdef __STDC__
16*47146Sbostic void clear_traps(void);
17*47146Sbostic int setsignal(int);
18*47146Sbostic void ignoresig(int);
19*47146Sbostic void dotrap(void);
20*47146Sbostic void setinteractive(int);
21*47146Sbostic void exitshell(int);
22*47146Sbostic #else
23*47146Sbostic void clear_traps();
24*47146Sbostic int setsignal();
25*47146Sbostic void ignoresig();
26*47146Sbostic void dotrap();
27*47146Sbostic void setinteractive();
28*47146Sbostic void exitshell();
29*47146Sbostic #endif
30