xref: /csrg-svn/bin/sh/trap.h (revision 69272)
147146Sbostic /*-
260698Sbostic  * Copyright (c) 1991, 1993
360698Sbostic  *	The Regents of the University of California.  All rights reserved.
447146Sbostic  *
547146Sbostic  * This code is derived from software contributed to Berkeley by
647146Sbostic  * Kenneth Almquist.
747146Sbostic  *
847146Sbostic  * %sccs.include.redist.c%
947146Sbostic  *
10*69272Schristos  *	@(#)trap.h	8.2 (Berkeley) 05/04/95
1147146Sbostic  */
1247146Sbostic 
1347146Sbostic extern int pendingsigs;
1447146Sbostic 
15*69272Schristos int trapcmd __P((int, char **));
16*69272Schristos void clear_traps __P((void));
17*69272Schristos long setsignal __P((int));
18*69272Schristos sig_t getsigaction __P((int));
19*69272Schristos void ignoresig __P((int));
20*69272Schristos void onsig __P((int));
21*69272Schristos void dotrap __P((void));
22*69272Schristos void setinteractive __P((int));
23*69272Schristos void exitshell __P((int));
24