lkml.org 
[lkml]   [2009]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectOn the workings of mmap
Hello. I have been studying the mmap function and it seems like when I
map an sparse file, that the parts of the file that have nothing are
defined as 0 when I access them through the address space returned by
mmap. Is that luck or is it defined to be this way? My only source of
information was debian's manpage on mmap that didn't seem to talk
about sparse files at all.

[]'s
Rafael


\
 
 \ /
  Last update: 2009-12-17 19:09    [W:0.347 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site