Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gfs_pio_write(3) [debian man page]

GFS_PIO_WRITE(3)														  GFS_PIO_WRITE(3)

NAME
gfs_pio_write - write to a file SYNOPSIS
#include <gfarm/gfarm.h> gfarm_error_t gfs_pio_write (GFS_File gf, const void * buffer, int size, int * np); DESCRIPTION
gfs_pio_write() writes up to size bytes to the file gf from the buffer starting at buffer. It returns the number of bytes written to the address pointed by np. RETURN VALUES
GFARM_ERR_NO_ERROR The function terminated successfully. GFARM_ERR_OPERATION_NOT_PERMITTED gf does not specify a regular file. GFARM_ERR_BAD_FILE_DESCRIPTOR The file descripter specified by gfp is not a valid or is not open for writing. GFARM_ERR_NO_SPACE The file system node has no room to store data GFARM_ERR_NO_FILE_SYSTEM_NODE There is no available file system node. GFARM_ERR_NO_MEMORY Insufficient memory was available. Others An error except the above occurred. The reason is shown by gfarm_error_string(3). SEE ALSO
gfs_pio_create(3), gfs_pio_flush(3), gfs_pio_open(3) Gfarm 27 June 2010 GFS_PIO_WRITE(3)

Check Out this Related Man Page

GFARM_INITIALIZE(3)													       GFARM_INITIALIZE(3)

NAME
gfarm_initialize - initialize the Gfarm execution environment for client SYNOPSIS
#include <gfarm/gfarm.h> gfarm_error_t gfarm_initialize (int *argcp, char *** argvp); DESCRIPTION
gfarm_initialize() initializes the Gfarm execution environment for client application. This function should be called before any Gfarm library API. argcp is a pointer to the number of arguments and argvp is a pointer to the argument vector. RETURN VALUES
GFARM_ERR_NO_ERROR The function terminated successfully. GFARM_ERR_NO_MEMORY Insufficient memory was available. GFARM_ERR_UNKNOWN_HOST The metadata server cannot be resolved. GFARM_ERR_NETWORK_IS_UNREACHABLE Network is unrechable. GFARM_ERR_OPERATION_TIMED_OUT Connetion timeout occurs. GFARM_ERR_PROTOCOL Protocol error occurs. GFARM_ERR_BROKEN_PIPE Connection to the metadata server is broken. GFARM_ERR_PERMISSION_DENIED The requested access to the file is not allowed, or one of the directories in gfarm_url did not allow search (execute) permission. Or, the authentication to the metadata server fails. GFARM_ERR_PROTOCOL_NOT_SUPPORTED Specified authentication protocol is not supported. GFARM_ERR_AUTHENTICATION User authentication failed when connecting to the metadata server. Others An error except the above occurred. The reason is shown by its gfarm_error_string(3). SEE ALSO
gfarm_terminate(3) Gfarm 26 June 2010 GFARM_INITIALIZE(3)
Man Page