On Fri, Dec 13, 2002 at 03:26:34PM -0500, Matthew Hagerty wrote:
> Is the MemMove function actually relocating the bytes, or just making a
> copy? The documentation does not specify this, and to me a *move* means
> you are dealing with and moving only one set of data.
Sure, the MemMove() documentation is terrible -- but then there were so
many non-trivial functions to document, it's not surprising they didn't
spend much time on this one, which has an "obvious" standard counterpart.
After last time this came up (two months ago -- I'm sure your archive
search was useful) I understand improving this one is either on the
documentation team's list or already done.
> Basically what I'm asking is can I treat this like the standard C memcpy()
> function?
Treat it like the similar standard C memmove() function. Hence the
name. There was probably an expectation that this was "obvious", but
every couple of months someone arrives for whom it clearly is not.
Therefore that expectation was wrong.
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/