PurifyIsRunning

Example       Related Topics

Description

Checks whether a program is running under Purify.

Syntax

int PurifyIsRunning(void)

Returns

1

The program is running under Purify.

0

The program is not running under Purify.

Notes

§      This function is especially useful for enclosing special purpose code when you run a program under Purify. For example, if you have a custom memory allocator, you can disable it when the program runs under Purify.

(C) Copyright IBM Corporation 1992, 2010.