Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!rutgers!cbmvax!eric From: eric@cbmvax.UUCP (Eric Cotton) Newsgroups: comp.sys.amiga.tech Subject: Re: Overriding ^C trap Message-ID: <6191@cbmvax.UUCP> Date: 9 Mar 89 16:03:37 GMT References: <9672@bloom-beacon.MIT.EDU> Reply-To: eric@cbmvax.UUCP (Eric Cotton) Organization: Commodore Technology, West Chester, PA Lines: 20 In article <9672@bloom-beacon.MIT.EDU> rlcarr@athena.mit.edu (Rich Carreiro) writes: >I have Lattice C 5.02. I would like to know how to disable CTRL-C checking. >Do I have to modify cxbrk.c, or can I just wipe it out by doing > >int CXBRK() >{return(0);} > >somewhere in my main program, >which will mask out the CXBRK() in lc.lib [or wherever it is]. int CXBRK() {return(0);} should do the trick. You might have to put the function before main(), however. -- Eric Cotton Commodore-Amiga (215) 431-9100 1200 Wilson Drive {uunet|pyramid|rutgers}!cbmvax!eric West Chester, PA 19380 "I don't find this stuff amusing anymore."