July 03, 2002 Control-Break | ||||
---|---|---|---|---|
| ||||
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? |
July 03, 2002 Re: Control-Break | ||||
---|---|---|---|---|
| ||||
Posted in reply to tjulian | 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();
|
Copyright © 1999-2021 by the D Language Foundation