Provided by: libdpm-dev_1.8.10-1build3_amd64
dpm_releasespace - release space
#include <sys/types.h> #include "dpm_api.h" int dpm_releasespace (char *s_token, int force)
dpm_releasespace releases space. The input arguments are: s_token specifies the token returned by a previous reservespace request. force force file release. If force is false (default), the space will not be released if it has files that are still pinned in the space.
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
EINVAL s_token is invalid (too long) or unknown. SENOSHOST Host unknown. SEINTERNAL Database error. SECOMERR Communication error.