debian man page for dpns_delreplica

Query: dpns_delreplica

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DPNS_DELREPLICA(3)					      DPNS Library Functions						DPNS_DELREPLICA(3)

NAME
dpns_delreplica - delete a replica for a given file
SYNOPSIS
#include <sys/types.h> #include "dpns_api.h" int dpns_delreplica (const char *guid, struct dpns_fileid *file_uniqueid, const char *sfn)
DESCRIPTION
dpns_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. guid specifies the Grid Unique IDentifier. sfn is either the Site URL or the Physical File Name for the replica.
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
ENOENT The named file or replica does not exist. EACCES Search permission is denied on a component of the parent directory or the effective user ID does not match the owner of the file or write permission on the file entry itself is denied. EFAULT sfn is a NULL pointer. EINVAL The length of guid exceeds CA_MAXGUIDLEN. ENAMETOOLONG The length of sfn exceeds CA_MAXSFNLEN. SENOSHOST Host unknown. SENOSSERV Service unknown. SECOMERR Communication error. ENSNACT Name server is not running or is being shutdown.
SEE ALSO
Castor_limits(4), dpns_addreplica(3), dpns_listreplica(3)
DPNS
$Date: 2005/07/26 12:09:11 $ DPNS_DELREPLICA(3)
Related Man Pages
dpns_modreplica(3) - debian
dpns_setrltime(3) - debian
dpns_setrstatus(3) - debian
dpns_setrtype(3) - debian
lfc_setrtype(3) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
How can I do this in VI editor?
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
New UNIX and Linux History Sections