gfal_unlink(3) - Linux man page
Name
gfal_unlink - remove a file entrySynopsis
#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.