| cvs.gedasymbols.org/djgpp/doc/libc/libc_457.html | search | 
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
#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.
| ANSI/ISO C | No | 
| POSIX | No | 
_g32_want_ctrl_break(1); do_something_long(); _g32_want_ctrl_break(0);  | 
| webmaster | delorie software privacy | 
| Copyright © 2004 | Updated Apr 2004 |