Signal Handling on W95

Anders Norlander
Wed Mar 31 19:45:00 GMT 1999

Jason Moxham wrote:
> I have a program which traps signals so that upon receiving a SIGTERM it
> can exit properly by saving data files etc ,
> When shutdown is activated on Windows 95 , no SIGTERM signals are sent
> so data files etc may be left in an inconsistent state
> Q) What signal is sent on shutdown ? , if SIGKILL can we trap it?
> Q) If no signal is sent , what conditions can we test to allow for a
> clean exit

This is a windows 95 feature and it is mentioned in the win32 docs.
Simply doesn't work.
On NT I think cygwin sends a SIGHUP signal, although I'm not sure if it


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list