title: mmap beyond end of file
body: <p>I have mapped a file onto memory using mmap() and I need to write beyond end of file. I cannot find any conclusive documentation evidence of what happens in this case. <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fapis%2Fmmap.htm" rel="noreferrer">This document</a> says access beyond EOF is undefined. Is there any correct way to do this? </p>