xref: /original-bsd/bin/sh/trap.h (revision b3c06cab)
1 /*-
2  * Copyright (c) 1991, 1993
3  *	The Regents of the University of California.  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	8.2 (Berkeley) 05/04/95
11  */
12 
13 extern int pendingsigs;
14 
15 int trapcmd __P((int, char **));
16 void clear_traps __P((void));
17 long setsignal __P((int));
18 sig_t getsigaction __P((int));
19 void ignoresig __P((int));
20 void onsig __P((int));
21 void dotrap __P((void));
22 void setinteractive __P((int));
23 void exitshell __P((int));
24