The mi_interrupt_check() function

The mi_interrupt_check() function checks for a user interrupt.

Syntax

mi_integer mi_interrupt_check()
Valid in client LIBMI application? Valid in user-defined routine?
No Yes

Usage

The mi_interrupt_check() function determines whether the client application has interrupted the current operation by sending a break signal to the database server. When mi_interrupt_check() returns a nonzero value, the C UDR returns an appropriate error.

Return values

0
The client application did not interrupt the current operation.
<> 0
The client application interrupted the current operation.