interrupt the CPU
#include <i86.h> void intr( int inter_no, union REGPACK *regs );
The intr() function causes the computer's central processor (CPU) to be interrupted with an interrupt whose number is given by inter_no. Before the interrupt, the CPU registers are loaded from the structure located by regs.
All of the segment registers must contain valid values. Failure to do so will cause a segment violation when running in protect mode. If you don't care about a particular segment register, then it can be set to 0, which will not cause a segment violation. Following the interrupt, the structure located by regs is filled with the contents of the CPU registers.
This function is similar to the int86x() function, except that:
int386(), int386x(), int86(), int86x(), segread()
Intel
DOS, Windows, Win386, QNX, DOS/PM, Netware