4.3BSD/usr/guest/sam/tests/grow.c

Compare this file to the similar file:
Show the results in this format:

#include <signal.h>

catch(s, code, scp)
	int s, code;
	struct sigcontext *scp;
{

	sigsetmask(0);
	kill(getpid(), s);
}

main()
{

	signal(SIGINT, catch);
	for (;;)
		sigpause(0);
}