Description
Checks whether a memory block is writable.
Syntax
int PurifyIsWritable(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 writable. |
|
0 |
The memory block is not writable. |
Notes
§ Purify does not generate any messages in the Error View. To check whether a memory block is writable and generate messages, use PurifyAssertIsWritable.
(C) Copyright IBM Corporation 1992, 2010.