[filesystem] determine free space

Hi, I just ran across the problem of having to determine how much space was available for a new file that would end up at a certain path. I'd be willing to contribute such a function (convenience.hpp looks like a good place) for Unix, but it would have to be complemented by other OS dependent functions for the other architectures. Anyone interested? Simon

"Simon Richter" wrote:
I just ran across the problem of having to determine how much space was available for a new file that would end up at a certain path. I'd be willing to contribute such a function (convenience.hpp looks like a good place) for Unix, but it would have to be complemented by other OS dependent functions for the other architectures.
On Windows function GetDiskFreeSpaceExA() is available (since Win95, OSR2, iow everywhere). /Pavel
participants (2)
-
Pavel Vozenilek
-
Simon Richter