dpm_abortreq(3)

dpm_abortreq3

Abort a given get, put or copy request

Usage

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

int dpm_abortreq (char *r_token)

Overview

dpm_abortreq aborts a given get, put or copy request. The request status and the status of every file belonging to this request and still in the queue is set to DPM_ABORTED.

r_token

specifies the token returned by a previous get, put or copy request.

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

EACCES

Permission denied.

EFAULT

r_token is a NULL pointer.

EINVAL

The length of r_token exceeds CA_MAXDPMTOKENLEN or the token is unknown.

SENOSHOST

Host unknown.

SEINTERNAL

Database error.

SECOMERR

Communication error.

Releases

Unchanged in 5 releases since Debian 6.0 (Squeeze).

  1. 6.0–10

From libdpm-dev 1.10.0-2+b3 in Debian 10 (Buster). Parsed by carta from the page's man source.