gfs_pio_write
write to a file
- Provided by: libgfarm-dev (Version: 2.7.20+dfsg-1.3)
- Source: gfarm
- Report a bug
write to a file
#include <gfarm/gfarm.h>
gfarm_error_t gfs_pio_write(GFS_File gf, const void * buffer, int size, int * np);
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.
GFARM_ERR_NO_ERROR
GFARM_ERR_OPERATION_NOT_PERMITTED
GFARM_ERR_BAD_FILE_DESCRIPTOR
GFARM_ERR_NO_SPACE
GFARM_ERR_NO_FILE_SYSTEM_NODE
GFARM_ERR_NO_MEMORY
Others