0

Would this statement be true or false? I was told conflicting information in regards to mmap() and now I am unsure.

A program can memory map only a part of file rather than the whole file in Linux using mmap().

1 Answers1

0

False -- a program can memory map part of a file, or the whole file.

Kind of a trick question, due to the confusing use of "only ... rather than", which is normally just used to emphasize things that are mutually exclusive.

This question perhaps belongs on https://english.stackexchange.com/ rather than here -- the question has little to do with mmap itself and more to do with the vagaries of English grammar.

Chris Dodd
  • 119,907
  • 13
  • 134
  • 226