[LCP] mapping memory

Tim Aslat tim at spyderweb.com.au
Tue Nov 4 10:55:49 EST 2008


In the immortal words of Mark Farnell  on 11/04/08 09:18:
> In a Linux process, I have malloc'ed a piece of memory.  Within this
> process, are there any ways to map this chunk of memory to a different
> address?

I suspect one of these will suit your purpose.

memccpy
memcpy
memmove
strcpy
strncpy

Check the appropriate man pages for details on usage

Cheers

Tim

-- 
Tim Aslat <tim at spyderweb.com.au>
Spyderweb Consulting
http://www.spyderweb.com.au
Mobile: +61 0401088479



More information about the linuxCprogramming mailing list