Re: catching signals
Re: catching signals
- Subject: Re: catching signals
- From: Robert Goldsmith <email@hidden>
- Date: Tue, 20 Apr 2004 22:08:34 +0100
>
Is not SIGINT the signal sent by typing control C when launched from
>
terminal ?
Yep.
>
Try sending kill -INT to your application from terminal to see if you
>
caught the right signal
Hmm, that is caught.
>
I doubt SIGINT has anything to do wth serial port handling
According to the serial port docs, setting:
options.c_iflag |= BRKINT; //Send a SIGINT when a break condition is
detected
http://www.easysw.com/~mike/serial/serial.html#config
(scroll down to Input Options)
According to Motorola, the chip I am working with sends a Break signal
when it reaches a breakpoint in the code (which I know it reaches). I
just can't work out how to catch that break signal :(
Robert
---
GnuPG public key:
http://www.Far-Blue.co.uk/
[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.