Date: Sun, 12 Jan 1997 16:04:05 +0200 (IST) From: Eli Zaretskii To: Dead_and_Gone cc: djgpp AT delorie DOT com Subject: Re: catching a CTRL C In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 12 Jan 1997, Dead_and_Gone wrote: > void ctrlbrk(fptr) > int (*fptr)(); > { > int _signal_(int, int (*fptr)()); > _signal_(SIGINT,fptr); > } That function is called `signal', not `_signal_'. And you should pass your handler as its argument. Can you post the code that calls `ctrlbrk', so that it could be seen how do you call it and what function do you pass as `fptr'?