Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!wa3wbu!gdx!jay From: jay@gdx.UUCP (Jay A. Snyder) Newsgroups: comp.unix.xenix.sco Subject: Re: Catching Signals in 'C' Message-ID: <60@gdx.UUCP> Date: 30 Sep 90 03:34:56 GMT References: <1990Sep28.115700.17508@NCoast.ORG> Organization: GDX-BBS, New Cumberland, PA Lines: 26 In-reply-to: ramsey@NCoast.ORG's message of 28 Sep 90 11:57:00 GMT Try: Try: #include #include handler() { ... handler body .... signal(SIGINT,handler); } main() { signal(SIGINT,handler); ..... ..... } -- ============================================================================== Jay A. Snyder "Let Me Up! I've had enough" wa3wbu!gdx!jay@uunet.uu.net uunet!wa3wbu!gdx!jay