ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: what is dev/mem

To:
Subject: Re: [ts-7000] Re: what is dev/mem
From: Jim Jackson <>
Date: Mon, 3 Jul 2006 11:59:34 +0100 (BST)
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/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU