Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-09-15 12:46:54

"Rob Stewart" <stewart_at_[hidden]> wrote in message

> I propose this interface:
> boost::uintmax_t free_space(path const &);
> boost::uintmax_t capacity(path const &);

In looking at this a bit further, both POSIX and windows distinguish between
total free space and free space available "to nonprivileged process" (POSIX)
or "to caller" (Windows).

To accommodate this, we might have:

   boost::uintmax_t capacity(path const &);
   boost::uintmax_t total_free_space(path const &);
   boost::uintmax_t available_free_space(path const &);



Boost list run by bdawes at, gregod at, cpdaniel at, john at