LFC_DELREPLICA(3) | LFC Library Functions | LFC_DELREPLICA(3) |
lfc_delreplica - delete a replica for a given file
#include <sys/types.h>
#include "lfc_api.h"
int lfc_delreplica (const char *guid, struct lfc_fileid *file_uniqueid, const char *sfn)
lfc_delreplica deletes a given replica. An extra check may be obtained by specifying guid or file_uniqueid. If both are given, file_uniqueid is used.
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
$Date: 2005/07/26 12:09:11 $ | LFC |