www.digitalmars.com         C & C++   DMDScript  

c++.dos.32-bits - Control-Break

reply tjulian <tjulian removethis.oldi.com> writes:
The documentation says that the setcbrk function will work in DOSX, and 
defined in dos.h. But when I compile, I get a an error stating that the 
function is not defined, and dos.h does not define this function for 
DOSX builds.

Is setcbrk no longer supported for DOSX?
Jul 03 2002
parent Roland <rv ronetech.com> writes:
tjulian a écrit :

 The documentation says that the setcbrk function will work in DOSX, and
 defined in dos.h. But when I compile, I get a an error stating that the
 function is not defined, and dos.h does not define this function for
 DOSX builds.

 Is setcbrk no longer supported for DOSX?

me i use control c package. see controlc.h (may be not portable ?). static void _cdecl my_ctrlc_handler() { . . } //trap control-c _controlc_handler = my_ctrlc_handler; controlc_open(); //untrap controolc_close();
Jul 03 2002