PE> Well, you got me to look up my standard, but unless your section
PE> 7.7.1.1 is different from mine, the return value from your handler is
PE> irrelevant. Actually, not so much irrelevant as ILLEGAL. The signal
PE> handler is meant to be of return type "void".
R> In that case, it's not possible to write a 'legal' DOS ^C handler.
Why?
R> Return: AH = 00h abort program
R> if all registers preserved, restart DOS call
So? That's the compiler's job. Why do you think it's not possible to
write a C compiler that will both conform to the ISO standard AND conform
to the DOS specs? BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|