S
smnoff
How does one get the source code for memcpy()?
smnoff said:How does one get the source code for memcpy()?
smnoff said:How does one get the source code for memcpy()?
smnoff said:How does one get the source code for memcpy()?
smnoff said:How does one get the source code for memcpy()?
Some even check for specific CPU hardware variants, to work aroundRichard said:Suman said:
A very portable implementation.
I'd expect machine-specific implementations to box a bit more cleverly,
though - e.g. copying a word at a time rather than a byte as far as
possible, or using dedicated machine instructions where that's relevant.
<OT?>Richard said:Suman said:
A very portable implementation.
I'd expect machine-specific implementations to box a bit more cleverly,
though - e.g. copying a word at a time rather than a byte as far as
possible, or using dedicated machine instructions where that's relevant.
Though not strictly conforming.Richard Heathfield said:Suman said:
A very portable implementation.
The string library functions are generally pretty easy to implement withsmnoff said:How does one get the source code for memcpy()?
Richard said:Suman said:
A very portable implementation.
I think the pointer types should be (unsigned char *) instead.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.