customBashShell / tests / basic / blocks_sigint.c
blocks_sigint.c
Raw
#include <signal.h>
#include <unistd.h>

int
main()
{
    signal(SIGINT, SIG_IGN);
    sleep(100);
}