Connecting Tech Pros Worldwide Forums | Help | Site Map

doubt regarding mmap() function call

sam_cit@yahoo.co.in
Guest
 
Posts: n/a
#1: Apr 23 '07
Hi Everyone,

I searched for mmap() and i found the following in wikipedia,

'Anonymous mappings are mappings of physical RAM to virtual memory.
This is similar to malloc, and is used in some malloc implementations
for certain allocations'

I understood that the memory contents are mapped to files using
mmap()

However, from the following link,

http://ou800doc.caldera.com/en/man/html.2/mmap.2.html

I understand that mmap() just avoids read/write concept of a file and
makes sure that files are accessed as raw memory.

Can anyone help me as to what is correct about mmap()?

Thanks in advance!!!


Ian Collins
Guest
 
Posts: n/a
#2: Apr 23 '07

re: doubt regarding mmap() function call


sam_cit@yahoo.co.in wrote:
Quote:
Hi Everyone,
>
I searched for mmap() and i found the following in wikipedia,
>
Try comp.unix.programmer or your man pages, mmap() is off topic here.

--
Ian Collins.
Closed Thread


Similar C / C++ bytes