Poster of Linux kernelThe best gift for a Linux geek
DPM_RELEASESPACE

DPM_RELEASESPACE

Section: DPM Library Functions (3) Updated: $Date: 2005/11/09 09:18:53 $
Local index Up
 

NAME

dpm_releasespace - release space  

SYNOPSIS

#include <sys/types.h>
#include "dpm_api.h"

int dpm_releasespace (char *s_token, int force)  

DESCRIPTION

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.
 

RETURN VALUE

This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.  

ERRORS

EINVAL
s_token is invalid (too long) or unknown.
SENOSHOST
Host unknown.
SEINTERNAL
Database error.
SECOMERR
Communication error.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS

This document was created by man2html, using the manual pages.
Time: 21:45:14 GMT, April 16, 2011