RDLP_MemReadable3
Palmos memory-manipulation functions
Part of RDLP_MemHandleNew(3).
Usage
#include <palm.h>
#include <pconn/pconn.h>
int
RDLP_MemHandleNew(PConnection *pconn, udword size);
int
RDLP_MemMove(PConnection *pconn, ubyte *dst, const udword src, const udword len);
int
RDLP_MemReadable(PConnection *pconn, udword addr);
Library
libpconn
Overview
Presumably, RDLP_MemHandleNew allocates a new memory chunk of size bytes, and returns a pointer to it.
RDLP_MemMove reads a region of memory, and returns it.
dst is a pointer to a buffer that will be filled in with the desired memory region.
src is the starting address of the region to read.
len specifies the length of the region to read.
Presumably RDLP_MemReadable tests whether a given memory address exists and is readable.
Return value
These functions all return the contents of the Palm's D0 register after the function call, or a negative value in case of error.
Releases
Unchanged in 2 releases since Debian 3.1 (Sarge).