#include <h/signals.h>
#include <setjmp.h>
#include <signal.h>
+#include <unistd.h>
static char ansbuf[BUFSIZ];
static jmp_buf sigenv;
/*
** static prototypes
*/
-static RETSIGTYPE intrser(int);
+static void intrser(int);
char **
}
-static RETSIGTYPE
+static void
intrser(int i)
{
/*
** should this be siglongjmp?
*/
- longjmp(sigenv, 1);
+ close(STDIN_FILENO);
}