From: alexr AT aurora DOT sps DOT mot DOT com (Alex Rezinsky) Subject: SIGINT strange behaviour 15 Jan 1999 22:15:43 -0800 Message-ID: <369FC363.1D464A66.cygnus.gnu-win32@aurora.sps.mot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com Hi, I use egcs-1.1 with CYGWIN19 When I run the next program and press cntrl/c, the message "cntrl/c received." is printed, but the program exits. What the problem? Should I update to 20.1 to solve it?? Thanks, Alex Rezinsky -------------------------------- #include #include void sigint_handler() { printf("cntrl/c received.\n"); } main() { signal(SIGINT, sigint_handler); for(;;); } - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".