[cc65] signals

From: dominic beesley <dominic1brahms.demon.co.uk>
Date: 2005-05-25 18:36:40
Hello all,

Some quick questions on signals, trying to get escape and
error handling working for BBC...

When SIG_IGN is set as a handler, to ignore signals, should
this not be sticky? i.e. the signal ignored completely. The
implementation in 2.10.1 resets it...

I've had to change signal.h to declare _sig_ign and _sig_dfl
as __fastcall__ is that correct.

I want to override _sig_dfl for BBC micro so that it traps
SIGINT and aborts to the OS when Escape is pressed and not
captured. What is the best way of doing this? I don't want to move
it from common otherwise it'll need redefining for all the other
architectures...

Cheers

Dom

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed May 25 18:42:12 2005

This archive was generated by hypermail 2.1.8 : 2005-05-25 18:42:16 CEST