
22 Jun
2005
22 Jun
'05
5:35 p.m.
"Thomas Matelich" <matelich@gmail.com> wrote in message news:3944d45805062113231fa767ff@mail.gmail.com...
On 6/21/05, remi.chateauneu@gmx.de <remi.chateauneu@gmx.de> 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