dpm_releasespace man page

DPM_RELEASESPACE(3)          DPM Library Functions         DPM_RELEASESPACE(3)

      dpm_releasespace - release space

      [1m#include <sys/types.h>[0m
      [1m#include "dpm_api.h"[0m

      [1mint dpm_releasespace (char *[4m[22ms_token[24m[1m, int [4m[22mforce[24m[1m)[0m

      [1mdpm_releasespace [22mreleases space.

      The input arguments are:

             specifies the token returned by a previous reservespace request.

      [4mforce[24m  force file release.  If force is false (default), the space will
             not be released if it has files that are  still  pinned  in  the

      This  routine  returns  0  if the operation was successful or -1 if the
      operation failed. In the latter case, [1mserrno [22mis set appropriately.

      [1mEINVAL       [4m[22ms_token[24m is invalid (too long) or unknown.

      [1mSENOSHOST    [22mHost unknown.

      [1mSEINTERNAL   [22mDatabase error.

      [1mSECOMERR     [22mCommunication error.

LCG                      $Date: 2005/11/09 09:18:53 $      DPM_RELEASESPACE(3)