Welcome, Guest. Please login or register.

Author Topic: Ctrl-C handling issues  (Read 7678 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline x303

Re: Ctrl-C handling issues
« on: June 11, 2011, 08:07:59 PM »
The solution from Mongo should do the trick. Look here: http://cataclysm.cx/random/amiga/reference/Libraries_Manual_guide/node0019.html
 

Offline x303

Re: Ctrl-C handling issues
« Reply #1 on: June 13, 2011, 01:15:50 AM »
Hmmm, checked some old code. All voids, no ints. Works over here.

#ifdef SAS_C
int CXBRK(void) { return(0); }
void __regargs __chkabort(void);
void __regargs __chkabort(void) {}
#endif

Edit:
Btw I thought you developed AA with Stormc (looking at the code). Why bother with sas/c ???
Ran the latest version of it (16.02) and found no problem with CTRL-C. It says 'Quitting.' and exits the program normally.
« Last Edit: June 13, 2011, 01:28:12 AM by x303 »
 

Offline x303

Re: Ctrl-C handling issues
« Reply #2 on: June 13, 2011, 02:38:01 AM »
If you wanna check out the _cxbrk routine, it's hidden in sc:source :idea: