purecov_disable_save

Syntax: int purecov_disable_save (void)

This function sets a flag which prevents PureCoverage from writing the accumulated data when the program exits or executes another program.

For example, you can call this function within a self-testing program. If the program detects a failure, the function keeps PureCoverage from writing coverage data automatically when the failed program exits. A signal handler detecting a fatal signal can call this function before exiting.