mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sylvanino b <sylvanino@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: questions about system function: mmap / fwrite
Date: Fri, 20 May 2005 11:14:47 +0200	[thread overview]
Message-ID: <d14685de050520021439e48c8d@mail.gmail.com> (raw)

Hello,

I have a question about ways of accessing a file. 

I know it is possible to use: fseek + fwrite/fread to access a file.
and It is also possible to map file in memory with  "mmap" function,
and access it by adressing memory.

Currently I use the frame buffer of  mobile phones with mmap function.
For my understanding, I would like to know what is the difference
between using fseek+fwrite compared to mmap style.
Dont hesitate to be precise or to use technical terms.

Thanks you,

Sylvanino

             reply	other threads:[~2005-05-20  9:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-20  9:14 sylvanino b [this message]
2005-05-20  9:35 ` Helge Hafting

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d14685de050520021439e48c8d@mail.gmail.com \
    --to=sylvanino@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome