DPM_RM(3) | DPM Library Functions | DPM_RM(3) |
dpm_rm - delete a set of files
#include <sys/types.h>
#include "dpm_api.h"
int dpm_rm (int nbsurls, char **surls, int *nbreplies, struct dpm_filestatus **filestatuses)
dpm_rm deletes a set of files from disk and from the name space.
The input arguments are:
The output arguments are:
struct dpm_filestatus { char *surl; int status; char *errstring; };
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
$Date: 2004/12/15 08:31:49 $ | LCG |