lkml.org 
[lkml]   [2005]   [May]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 20 May 2005 11:14:47 +0200
Fromsylvanino b <>
Subjectquestions about system function: mmap / fwrite
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-20 11:18    [from the cache]
©2003-2008