1DPM_RELEASESPACE(3) DPM Library Functions DPM_RELEASESPACE(3)
2
3
4
6 dpm_releasespace - release space
7
9 #include <sys/types.h>
10 #include "dpm_api.h"
11
12 int dpm_releasespace (char *s_token, int force)
13
15 dpm_releasespace releases space.
16
17 The input arguments are:
18
19 s_token
20 specifies the token returned by a previous reservespace request.
21
22 force force file release. If force is false (default), the space will
23 not be released if it has files that are still pinned in the
24 space.
25
27 This routine returns 0 if the operation was successful or -1 if the
28 operation failed. In the latter case, serrno is set appropriately.
29
31 EINVAL s_token is invalid (too long) or unknown.
32
33 SENOSHOST Host unknown.
34
35 SEINTERNAL Database error.
36
37 SECOMERR Communication error.
38
39
40
41LCG $Date: 2005/11/09 09:18:53 $ DPM_RELEASESPACE(3)