C programming question
wildberger-iRg7kjdsKiH3fQ9qLvQP4Q at public.gmane.org
Fri Dec 19 18:39:55 UTC 2003
On December 19, 2003 01:26 pm, Jing Su wrote:
> Still not sure exactly what you're looking for, but a few hints....
> Well, the OS separates the address space of different processes, so there
> is more work involved in sharing memory across different processes.
> But, you can always point to any virtual address you want by setting a
> void pointer to some address. For example, you could do:
> void* foo = 0xA0000000;
> and write directly to that hex address (use with caution).
> You can map files to memory using the mmap function... (do a man mmap).
Thanks for your speedy reply. I will try to work with this.
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy