Re: Can I get a sigint when the bash window closed with close window's button?

2005-11-16 Thread Konrad Eisele
} } int main() { signal (SIGHUP, func1); signal (SIGINT, func2); while(1) {}; } -- cygwin@cygwin.com schrieb am 16.11.05 00:00:50: > > On Tue, 15 Nov 2005, Joe Smith wrote: > > > "Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL > &

Can I get a sigint when the bash window closed with close window's button ?

2005-11-15 Thread Konrad Eisele
When th cygwin bash window is closed by clicking on the window's close button the the appliaction gets killed without recieving a sigint or any atexit called. Is there a way to be able to run cleanup code when the application is about to be killed? -- Unsubscribe info: http://cygwin.com/ml/