gfs_unlink(3)

gfs_unlink3

Delete a file

Usage

#include <gfarm/gfarm.h>

gfarm_error_t gfs_unlink(const char * gfarm_url);

Overview

gfs_unlink() deletes the file whose name is the string specified by gfarm_url.

Return values

GFARM_ERR_NO_ERROR

The function terminated successfully.

GFARM_ERR_NO_MEMORY

Insufficient memory was available.

GFARM_ERR_AUTHENTICATION

User authentication failed when connecting to gfmd(8).

GFARM_ERR_PERMISSION_DENIED

gfarm_url points outside your accessible address space.

GFARM_ERR_NO_SUCH_OBJECT

gfarm_url does not exist.

GFARM_ERR_NOT_A_DIRECTORY

A component of the path prefix is not a directory.

Others

An error except the above occurred. The reason is shown by gfarm_error_string(3).

Releases

5 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0–7
  2. 11–13

From libgfarm-dev 2.7.20+dfsg-1.2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.