You can take a look at shmem if you want to map a file to memory.
 
Haven't tried it myself yet though.
 
Cheers
-----Mensaje original-----
De: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org]En nombre de Simon Reye
Enviado el: viernes, 14 de julio de 2006 7:46
Para: boost-users@lists.boost.org
Asunto: [Boost-users] File Manipulation

I've had a look through the iostream stuff but my head can't think straight this late in the week.  I require two things:

1. The ability to truncate and grow a file.  I see the seek/write functions which I'm guessing will take care of my growth needs but what about truncation?

2. The ability to memory map a file.  I saw mapped_file which I guess is the one.

Simon