Re: appending to a memory-mapped file
Re: appending to a memory-mapped file
- Subject: Re: appending to a memory-mapped file
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 6 Jan 2010 15:16:22 +0100
Le 6 janv. 2010 à 15:11, Joel Reymont a écrit :
> Forgive me if I'm missing something obvious but how do you append to a memory-mapped file?
>
> The file will obviously grow when you append to it but what's the best way to 'extend' the memory representation?
>
ftruncate passing the mapped file descriptor should work.
-- Jean-Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden