www.delorie.com/djgpp/doc/libc/libc_458.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

_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

ANSI/ISO C No
POSIX No

Example

 
while (!_go32_was_ctrl_break_hit())
  do_something();


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004