dpm_releasespace man page

DPM_RELEASESPACE(3)          DPM Library Functions         DPM_RELEASESPACE(3)

[1mNAME[0m
      dpm_releasespace - release space

[1mSYNOPSIS[0m
      [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

[1mDESCRIPTION[0m
      [1mdpm_releasespace [22mreleases space.

      The input arguments are:

      [4ms_token[0m
             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
             space.

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

[1mERRORS[0m
      [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)