BRender x86 Installation Guide:Platform- Specific Functions:4.5 Divide Overflow Suppressor
Next|Prev|Up
DOSDivTrapBegin()
DOSDivTrapCount()
DOSDivTrapEnd()

4.5 Divide Overflow Suppressor



DOSDivTrapBegin()

Description:
Begin divide-by-zero and divide overflow exception handling.

Declaration:
int DOSDivTrapBegin(void);

Result :
int

Returns non-zero if handler installation fails.


DOSDivTrapCount()

Description:
Returns the number of divide-by-zero or divide overflow occurrences.

Declaration:
int DOSDivTrapCount(int reset);

Arguments:
int reset

Any non-zero value will reset count.

Result :
int

Returns the number of divide-by-zero or divide overflow occurrences.


DOSDivTrapEnd()

Description:
End divide-by-zero and divide overflow exception handling.

Declaration:
void DOSDivTrapEnd(void);


Generated with
CERN WebMaker