Boost logo

Boost Users :

From: Thomas Matelich (matelich_at_[hidden])
Date: 2005-06-22 15:53:51


On 6/22/05, Beman Dawes <bdawes_at_[hidden]> wrote:
>
> "Thomas Matelich" <matelich_at_[hidden]> wrote in message
> news:3944d45805062113231fa767ff_at_mail.gmail.com...
>
> Probably a dumb question, but why did you use <sys/vfs.h> and statfs()
> instead of the POSIX <sys/statvfs.h> and statvfs()? Were they not present on
> some of the target systems?
>
> I would like to include the functionality in Boost.Filesystem, but am
> concerned because POSIX lists it as optional.

I started with our legacy HP implementation as a reference and didn't
need to change it for linux, so I didn't even notice that there was a
different header. :-)

I'd be fairly surprised if a platform supported by Filesystem didn't
have a way to determine disk space. Well, I guess not all that
surprised. Murphy's always waitin'.


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