Boost logo

Boost Users :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-06-22 12:35:30

"Thomas Matelich" <matelich_at_[hidden]> wrote in message
> On 6/21/05, remi.chateauneu_at_[hidden] <remi.chateauneu_at_[hidden]> wrote:

>> >I've got an implementation (independent of FileSystem) that works on
>> >windows, hp and linux (others I'm sure, but I don't use them) if
>> >anyone's interested.
>> >
> Its really not that complicated. just a wrapper around statfs on unix
> and GetDiskFreeSpaceEx on windows.

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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at