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
news:3944d45805062113231fa767ff_at_mail.gmail.com...
> 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.

--Beman


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