Hi

On Fri, Jan 23, 2009 at 8:14 PM, niamathullah sharief
<sharie...@yahoo.co.in> wrote:
> Hello,
>
>    Actually what is mmap()?why it used?shall we write the program without
> that function?

by using mmap(), you can:
1. allocate memory without backing file (called anonymous mapping)

2. map all or some part of a file into process address space, thus you
access it by simply reading/writing to an address of process address
space.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to