On Fri, 2010-04-30 16:08:15 +0200, Joakim Tjernlund <[email protected]> wrote: > Is memcpy supposed to work when the src and dest are the same: > memcpy(p, p, 100);
It may work, but you cannot rely on it. Use memmove() alternatively.
MfG, JBG
--
Jan-Benedict Glaw [email protected] +49-172-7608481
Signature of: Alles sollte so einfach wie möglich gemacht sein.
the second : Aber nicht einfacher. (Einstein)
signature.asc
Description: Digital signature
