www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/15/11:54:39

Date: Sun, 15 Dec 1996 11:48:38 -0500 (EST)
Message-Id: <199612151648.LAA20273@raptor.IRO.UMontreal.CA>
From: Marc Feeley <feeley AT IRO DOT UMontreal DOT CA>
To: tehmul%NIITPUN AT iris DOT ernet DOT in
CC: djgpp AT delorie DOT com
In-reply-to: <E270083001E72A00@iris.ernet.in> (tehmul%NIITPUN@iris.ernet.in)
Subject: Re: SIGINT handling & stdio

> Marc Feeley wrote:
> > [snip]  
> > It seems that when getchar is called, a ctrl-c will NOT call the signal 
> > handler; the program simply terminates.  This is strange [snip]
> 
> That's strange, when I ran your program, a ctrl-c (had to be followd by Enter 
> tho') did call the signal handler without any problem.  

The problem occured when I was running the program under Windows-NT.  I
later ran the program under DOS and got what I expected.  What I'd like
to know now is why SIGINT is not handled the same when run under Windows-NT?

Marc

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019