#include "las.h" #include "diskio.h"long long c_dkrspac (path)
char *path;
Specifies the pathname to determine how much software reserved space has been allocated in the specified path.
c_dkrspac() determines how much space is software reserved in a specified path. It was written specifically to return the software reserved space in the disk reserve file. The space is software reserved when disk files are created by c_dkcre().
c_dkrspac() returns
Number of bytes that have been software reserved E_FAIL (-1) --> failure status
The number of bytes returned is only the space that has been software reserved in the disk reserve file. Space is also only software reserved using c_dkcre().
The c_dkrspac() call is for C only.