Boost logo

Boost Users :

From: Berenguer Blasi (bblasi_at_[hidden])
Date: 2006-07-14 04:49:48


File ManipulationYou 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_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]]En nombre de Simon Reye
  Enviado el: viernes, 14 de julio de 2006 7:46
  Para: boost-users_at_[hidden]
  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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net