CERN org.glite.Gfal
2.0.1
|
file for the internal write function for the posix interface More...
#include <glib.h>
#include <stdlib.h>
#include "../common/gfal_types.h"
#include "../common/gfal_common_filedescriptor.h"
#include "gfal_common_file_handle.h"
#include "gfal_posix_internal.h"
#include "../common/gfal_common_errverbose.h"
#include "../common/gfal_common_plugin.h"
#include "gfal_posix_local_file.h"
Functions | |
int | gfal_posix_gfalfilehandle_write (gfal_handle handle, gfal_file_handle fh, void *buff, size_t s_buff, GError **err) |
int | gfal_posix_internal_write (int fd, void *buff, size_t s_buff) |
int | gfal_posix_gfalfilehandle_pwrite (gfal_handle handle, gfal_file_handle fh, void *buff, size_t s_buff, off_t offset, GError **err) |
ssize_t | gfal_posix_internal_pwrite (int fd, void *buff, size_t s_buff, off_t offset) |
file for the internal write function for the posix interface
int gfal_posix_gfalfilehandle_pwrite | ( | gfal_handle | handle, |
gfal_file_handle | fh, | ||
void * | buff, | ||
size_t | s_buff, | ||
off_t | offset, | ||
GError ** | err | ||
) |
map the file handle to the correct call for pwrite
References gfal_local_pwrite(), and gfal_plugin_pwriteG().
Referenced by gfal_posix_internal_pwrite().
int gfal_posix_gfalfilehandle_write | ( | gfal_handle | handle, |
gfal_file_handle | fh, | ||
void * | buff, | ||
size_t | s_buff, | ||
GError ** | err | ||
) |
map the file handle to the correct call
References gfal_local_write(), and gfal_plugin_writeG().
Referenced by gfal_posix_internal_write().
ssize_t gfal_posix_internal_pwrite | ( | int | fd, |
void * | buff, | ||
size_t | s_buff, | ||
off_t | offset | ||
) |
Implementation of the pwrite call
References gfal_file_handle_bind(), and gfal_posix_gfalfilehandle_pwrite().
Referenced by gfal_pwrite().
int gfal_posix_internal_write | ( | int | fd, |
void * | buff, | ||
size_t | s_buff | ||
) |
Implementation of the write call
References gfal_file_handle_bind(), and gfal_posix_gfalfilehandle_write().
Referenced by gfal_write().