On Mon, 3 Jul 2006, thomas wrote:
> Thanks Jimmy,
You want to be carefull - I might be Glaswegian :-)
> What does the statement do: start = mmap(0, getpagesize(),
> PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0x80840000);
on a linux machine with pages try
man mmap
for the gory details - man pages are also on many web sites
Essentially it provides a pointer "mapped" to point to a page of memory,
and it tells the kernel you want to be able to read and write to it and
share access with other processes.
cheers
Jim
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|