1DPM_RELEASESPACE(3) DPM Library Functions
2DPM_RELEASESPACE(3)
3
4
5
6[1mNAME[0m
7 dpm_releasespace ‐ release space
8
9[1mSYNOPSIS[0m
10 [1m#include <sys/types.h>[0m
11 [1m#include "dpm_api.h"[0m
12
13 [1mint dpm_releasespace (char *[4m[22ms_token[24m[1m, int
14[4m[22mforce[24m[1m)[0m
15
16[1mDESCRIPTION[0m
17 [1mdpm_releasespace [22mreleases space.
18
19 The input arguments are:
20
21 [4ms_token[0m
22 specifies the token returned by a previous re‐
23servespace request.
24
25 [4mforce[24m force file release. If force is false (de‐
26fault), the space will
27 not be released if it has files that are still
28pinned in the
29 space.
30
31[1mRETURN VALUE[0m
32 This routine returns 0 if the operation was successful
33or ‐1 if the
34 operation failed. In the latter case, [1mserrno [22mis set
35appropriately.
36
37[1mERRORS[0m
38 [1mEINVAL [4m[22ms_token[24m is invalid (too long)
39or unknown.
40
41 [1mSENOSHOST [22mHost unknown.
42
43 [1mSEINTERNAL [22mDatabase error.
44
45 [1mSECOMERR [22mCommunication error.
46
47
48
49LCG $Date: 2005/11/09 09:18:53 $
50DPM_RELEASESPACE(3)
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66