IsMemWritable

Determines whether a region of memory is fully writable by the current task.

Synopsis

bool IsMemWritable( const void *p, int32 size )

Description

This function considers the described block of the address space in relation to the pages of memory the current task has write access to. This function returns TRUE If the current task can write to the memory block, and FALSE if it cannot.

Arguments

p
A pointer to the start of the block.
size
The number of bytes in the block.

Return Value

This function returns TRUE if the block can be written to by the calling task, and FALSE if it cannot.

Implementation

Folio call implemented in kernel folio V24.

Associated Files

mem.h
ANSI C Prototype
clib.lib
ARM Link Library

See Also

IsMemReadable()