PurifyIsReadable

Example       Related Topics

Description

Checks whether a memory block is readable.

Syntax

int PurifyIsReadable(const void *addr, int size)

 

addr

The address of the memory block you want to check.

size

The number of bytes that you want to check in the memory block.

Returns

1

The memory block is readable.

0

The memory block is not readable.

Notes

§      Purify does not generate any messages in the Error View. To check whether a memory block is readable and generate messages, use PurifyAssertIsReadable.

(C) Copyright IBM Corporation 1992, 2010.