GFS_PIO_READ(3) | Gfarm | GFS_PIO_READ(3) |
gfs_pio_read - binary stream input
#include <gfarm/gfarm.h>
gfarm_error_t gfs_pio_read(GFS_File gf, void * buffer, int size, int * np);
gfs_pio_read() attempts to read up to size bytes from the file referenced by gf into the buffer starting at buffer, and returns the number of bytes read to the address pointed by np. On end of file, the number of bytes read is zero.
GFARM_ERR_NO_ERROR
GFARM_ERR_OPERATION_NOT_PERMITTED
GFARM_ERR_BAD_FILE_DESCRIPTOR
GFARM_ERR_NO_FILE_SYSTEM_NODE
GFARM_ERR_NO_MEMORY
Others
27 Jun 2010 | Gfarm |