xref: /csrg-svn/bin/sh/trap.h (revision 69807)
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*69807Schristos  *	@(#)trap.h	8.3 (Berkeley) 06/05/95
1147146Sbostic  */
1247146Sbostic 
1347146Sbostic extern int pendingsigs;
1447146Sbostic 
1569272Schristos int trapcmd __P((int, char **));
1669272Schristos void clear_traps __P((void));
1769272Schristos long setsignal __P((int));
1869272Schristos void ignoresig __P((int));
1969272Schristos void onsig __P((int));
2069272Schristos void dotrap __P((void));
2169272Schristos void setinteractive __P((int));
2269272Schristos void exitshell __P((int));
23