| www.delorie.com/djgpp/doc/libc-2.01/libc_388.html | search |
#include <go32.h> void _go32_want_ctrl_break(int yes);
This function tells go32 whether or not it wants Ctrl-Break to be
an exception or passed to the application. If you pass a nonzero value
for yes, pressing Ctrl-Break will set a flag that can be
detected with _go32_was_ctrl_break_hit
(see section _go32_was_ctrl_break_hit). If you pass zero for yes, When
you press Ctrl-Break the program will be terminated.
Note that if you call _go32_was_ctrl_break_hit, this function
automatically gets called to ask for Ctrl-Break events.
None.
_g32_want_ctrl_break(1); do_something_long(); _g32_want_ctrl_break(0);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |