c_dkrspac - Determines how much space is presently software reserved

SYNTAX

#include     "las.h"
#include     "diskio.h"
long long c_dkrspac (path)

     char               *path;

PARAMETERS

path (input, character, length(CMLEN))

Specifies the pathname to determine how much software reserved space has been allocated in the specified path.

DESCRIPTION

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().

RETURN VALUE

c_dkrspac() returns

     Number of bytes that have been software reserved
     E_FAIL (-1) --> failure status

SPECIAL CONSIDERATIONS

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.