xref: /csrg-svn/bin/sh/trap.h (revision 60698)
147146Sbostic /*-
2*60698Sbostic  * Copyright (c) 1991, 1993
3*60698Sbostic  *	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*60698Sbostic  *	@(#)trap.h	8.1 (Berkeley) 05/31/93
1147146Sbostic  */
1247146Sbostic 
1347146Sbostic extern int pendingsigs;
1447146Sbostic 
1547146Sbostic #ifdef __STDC__
1647146Sbostic void clear_traps(void);
1747146Sbostic int setsignal(int);
1847146Sbostic void ignoresig(int);
1947146Sbostic void dotrap(void);
2047146Sbostic void setinteractive(int);
2147146Sbostic void exitshell(int);
2247146Sbostic #else
2347146Sbostic void clear_traps();
2447146Sbostic int setsignal();
2547146Sbostic void ignoresig();
2647146Sbostic void dotrap();
2747146Sbostic void setinteractive();
2847146Sbostic void exitshell();
2947146Sbostic #endif
30