Boost logo

Boost Testing :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-12-20 14:45:16


"John Maddock" <john_at_[hidden]> wrote in message
news:005d01c6058c$88758000$47e40c52_at_fuji...
>> We need to avoid statvfs.h for some Mac OS X versions anyway, because
>> it isn't available on Panther (10.3.x). Granted, I don't know of any
>> other way to get this information.
>
> Right, according to the latest POSIX spec, statvfs.h should be available
> on
> all systems that define _XOPEN_VERSION > 500 in unistd.h. Otherwise
> there's
> basically no way to get that information (or not in a POSIX conforming
> way,
> there may be an Apple specific API).

Could someone with one of the older systems please search and see if there
is an equivalent API?

If there isn't, the choice becomes (1) throw an exception, or (2) return
some default results, like 0 disk space available.

--Beman


Boost-testing list run by mbergal at meta-comm.com