Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ames!oliveb!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Trapping for control-C. Keywords: cleanup signals crashes Message-ID: <102023@sun.Eng.Sun.COM> Date: 1 May 89 02:35:46 GMT References: <6528@dayton.UUCP> Sender: news@sun.Eng.Sun.COM Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 11 In article <6528@dayton.UUCP> (Joseph P. Larson) writes: >just do: signal(SIGINT, cleanup); signal(SIGQUIT, cleanup); (or whatever >the arg order is). This works fine with the Lattice 5.0 compiler. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you. "A most excellent barbarian ... Genghis Kahn!"