Rus, you're thinking of MemSet. The MemMove prototype effectively matches
memcpy's and memmove's.
Chiyi Lin, just think of MemMove as working like memmove, and you'll be OK.
-- Keith
"Nesse, Rustin" <[EMAIL PROTECTED]> on 11/02/2000 03:28:49 PM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: "Nesse, Rustin" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: RE: How "MemMove" is implemented?
>I need to know how the function "MemMove" is actually implemented.
>Maybe I could get some idea from the source code of MemoryMgr.c.
>Could someone quote part of the source code containing "MemMove"?
>Or, if it's illegal to quote the source code, could you please
>explain how memory content is moved?
The PalmOS version of MemMove is a little odd because the order of the
arguments is switched around from the usual C version. The prototype
is like so:
Err MemMove(void *dstP, const void *sP, Int32 numBytes);
-Rus
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/