Go to the first, previous, next, last section, table of contents.


_go32_was_ctrl_break_hit

Syntax

#include <go32.h>

unsigned _go32_was_ctrl_break_hit(void);

Description

This function returns the number of times that Ctrl-Break was hit since the last call to this function or _go32_want_ctrl_break (see section _go32_want_ctrl_break).

Return Value

Zero if Ctrl-Break hasn't been hit, nonzero to indicate how many times if it has been hit.

Note that _go32_want_ctrl_break is automatically called to request these events, so you don't have to set up for this call.

Portability

not ANSI, not POSIX

Example

while (!_go32_was_ctrl_break_hit())
  do_something();


Go to the first, previous, next, last section, table of contents.