Bifroest Mr. Tines MacCTC CTCjava Manual Pages
Bifroest Mr. Tines CTC Home CTClib MacCTC CTCjava Manual


User Interrupts (USRBREAK)

This is a machine dependent module that must be reimplemented for each new operating system. The module provides an O/S independent way of allowing the user to interrupt long operations. The module defines no datatypes and only two functions:-

Functions

int user_break(void);
This function checks if the user has requested that the current operation be interrupted. It should return true if and only if the user pressed the break-key (or machine equivalent key strokes) since the last call to the function.
On non-preemptive Operating Systems like MacOS 7.x and Windows 3.x it should, where reasonably possible, allow other applications to run.

void bug_check(char * error_text);
This function should report the error_text and then halt the execution of the application. This function should never return.

webmaster@bifroest.demon.co.uk