append to a memory-mapped file

Joel Reymont <>
Thu Dec 16 11:43:41 CET 2010

Is there a way to append to a mmap-ed file such that appended data is available in the memory mapping?

Yes, I plan to make the memory-mapped region available as a binary. 

I understand that I can just open and mmap the file again but that seems rather wasteful when appending 8 bytes at a time which is what I'll be doing.

	Thanks, Joel


More information about the erlang-questions mailing list