🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11720

Overriding ^C trap

#11720
From: Rich Carreiro
Date: Tue, 07 Mar 1989 21:50
19 lines
1200 bytes
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].

Any help would be great.

ARPA:    rlcarr@athena.mit.edu
UUCP:    ...!mit-eddie!mit-athena!rlcarr
BITNET:  rlcarr%athena.mit.edu@MITVMA.mit.edu

*******************************************************************************
* Rich Carreiro                 "Back off man, I'm a scientist."              *
* rlcarr@athena.mit.edu                - Dr. Peter Venkman                    *
*******************************************************************************
Technical Details
Message-ID: <9672@bloom-beacon.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!rlcarr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!rlcarr
From: rlcarr@athena.mit.edu (Rich Carreiro)
Newsgroups: comp.sys.amiga.tech
Subject: Overriding ^C trap
Summary: how?
Message-ID: <9672@bloom-beacon.MIT.EDU>
Date: 7 Mar 89 21:50:42 GMT
Sender: daemon@bloom-beacon.MIT.EDU
Reply-To: rlcarr@athena.mit.edu (Rich Carreiro)
Organization: Massachusetts Institute of Technology
Lines: 19