gfarm_url_section_replicate_to(3)

gfarm_url_section_replicate_to3

Create a file replica of a file section

Usage

#include <gfarm/gfarm.h>

char *gfarm_url_section_replicate_to (const char *gfarm_url, char *section, char *dsthost);

Overview

gfarm_url_section_replicate_to() creates a file replica of a file section section of a file gfarm_url to a destination host dsthost.

File section is an architecture name for executable files, or is a fragment index for a regular file. Note that a fragment index needs to be specified in string without any unnecessary space character and zero padding.

Return values

NULL

The function terminated successfully.

GFARM_ERR_NO_MEMORY

Insufficient memory was available.

GFARM_ERR_NO_SUCH_OBJECT

A component used as a directory in gfarm_url does not exist.

GFARM_ERR_TEXT_FILE_BUSY

The file gfarm_url cannot be replicated because it is being updated by another process.

Others

An error except the above occurred. The reason is shown by its pointed strings.

Releases

Unchanged in 2 releases since Debian 6.0 (Squeeze).

  1. 6.0–7

From libgfarm-dev 2.4.1-1.1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.