$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-09-15 12:46:54
"Rob Stewart" <stewart_at_[hidden]> wrote in message
news:200509131320.j8DDKJ8K031913_at_shannonhoon.balstatdev.susq.com...
> 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 &);
Comments?
--Beman