Boost logo

Boost Testing :

From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2005-12-22 08:44:19


On Dec 20, 2005, at 2:45 PM, Beman Dawes wrote:

>
> "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?

Well, there's statfs:

   http://developer.apple.com/documentation/Darwin/Reference/ManPages/
man2/statfs.2.html#//apple_ref/doc/man/2/statfs

        Doug


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