Content-type: text/html Man page of GFAL_UNLINK

GFAL_UNLINK

Section: Library Functions (3)
Updated: $Date: 2003/11/19 12:56:29 $
Index Return to Main Contents
 

NAME

gfal_unlink - remove a file entry  

SYNOPSIS

#include "gfal_api.h"

int gfal_unlink (const char *filename);  

DESCRIPTION

gfal_unlink removes a file entry.
filename
specifies the file name (this can only be a TURL in the current implementation).
 

RETURN VALUE

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

ERRORS

ENOENT
The named file does not exist.
EACCES
Search permission is denied on a component of the filename prefix or write permission on the parent directory is denied.
EFAULT
filename is a NULL pointer.
ENOTDIR
A component of filename prefix is not a directory.
EINVAL
filename has an invalid syntax.
ECOMM
Communication error.
EPROTONOSUPPORT
Access method not supported.
 

SEE ALSO

gfal(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:16:32 GMT, July 14, 2009