/builddir/build/BUILD/gfal2-2.0.0/src/posix/gfal_posix_write.c File Reference

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)


Detailed Description

file for the internal write function for the posix interface

Author:
Devresse Adrien
Version:
2.0
Date:
05/07/2011

Function Documentation

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

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

ssize_t gfal_posix_internal_pwrite ( int  fd,
void *  buff,
size_t  s_buff,
off_t  offset 
)

Implementation of the pwrite call

int gfal_posix_internal_write ( int  fd,
void *  buff,
size_t  s_buff 
)

Implementation of the write call


Generated on Wed May 16 16:45:58 2012 for CERN org.glite.Gfal by  doxygen 1.4.7