Poster of Linux kernelThe best gift for a Linux geek
GFARM_URL_FRAGMENTS_REPLICATE

GFARM_URL_FRAGMENTS_REPLICATE

Section: (3) Updated: 06 September 2005
Local index Up

 

NAME

gfarm_url_fragments_replicate - Create a file replica of a file  

SYNOPSIS

#include <gfarm/gfarm.h>

char *gfarm_url_fragments_replicate (const char *gfarm_url, int ndsthosts, char **dsthosts);  

DESCRIPTION

gfarm_url_fragments_replicate() creates a file replica of a file gfarm_url to destination hosts specified by a string array dsthosts with a length ndsthosts. It cannot replicate an executable file.

When the total number of file fragments is greater than the specified total number of hosts ndsthosts, destination hosts are allocated in round robin.  

RETURN VALUES

NULL
The function terminated successfully.
GFARM_ERR_NO_MEMORY
Insufficient memory was available.
GFARM_ERR_OPERATION_NOT_PERMITTED
The file is not a regular fragmented file.
Others
An error except the above occurred. The reason is shown by its pointed strings.
 

SEE ALSO

gfarm_url_section_replicate_from_to(3), gfarm_url_section_replicate_from_to(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:46:48 GMT, April 16, 2011