Returns the amount of disk space available on the disk hosting *path. This function can be found in diskio.hpp.
Examples:
#include <diskio.hpp>
// Get the disk space on the disk with IDA installed on it.
if (getdspace(idadir(NULL)) < 100*1024*1024)
msg("You need at least 100 MB free to run this.");