Man page - gfs_pio_read(3)
Packages contains this manual
- gfs_acl_check(3)
- gfs_pio_datasync(3)
- gfs_acl_entries(3)
- gfs_acl_get_perm(3)
- gfs_acl_valid(3)
- gfs_stat(3)
- gfs_acl_create_entry(3)
- gfs_pio_open(3)
- gfs_acl_set_file(3)
- gfs_acl_to_any_text(3)
- gfs_mkdir(3)
- gfs_stat_free(3)
- gfs_acl_from_text_with_default(3)
- gfs_pio_read(3)
- gfs_acl_to_xattr_value(3)
- gfs_acl_set_permset(3)
- gfs_acl_clear_perms(3)
- gfs_acl_cmp(3)
- gfs_acl_get_file(3)
- gfs_acl_calc_mask(3)
- gfarm_initialize(3)
- gfs_pio_seek(3)
- gfs_acl_init(3)
- gfarm_terminate(3)
- gfs_acl_error(3)
- gfs_acl_set_tag_type(3)
- gfs_acl_set_qualifier(3)
- gfs_acl_to_text(3)
- gfs_acl_sort(3)
- gfs_acl_get_qualifier(3)
- gfs_acl_get_tag_type(3)
- gfs_acl_dup(3)
- gfs_pio_recvfile(3)
- gfs_acl_from_mode(3)
- gfs_acl_add_perm(3)
- gfs_acl_get_permset(3)
- gfs_acl_free(3)
- gfs_pio_sendfile(3)
- gfs_unlink(3)
- gfs_rmdir(3)
- gfs_pio_close(3)
- gfs_acl_get_entry(3)
- gfs_acl_delete_perm(3)
- gfs_acl_equiv_mode(3)
- gfs_pio_create(3)
- gfs_pio_write(3)
- gfarm(3)
- gfs_acl_delete_entry(3)
- gfs_acl_delete_def_file(3)
- gfs_acl_from_text(3)
- gfs_acl_from_xattr_value(3)
- gfs_pio_flush(3)
- gfs_pio_sync(3)
apt-get install libgfarm-dev
Available languages:
en jaManual
GFS_PIO_READ
NAMESYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
NAME
gfs_pio_read - binary stream input
SYNOPSIS
#include <gfarm/gfarm.h>
|
gfarm_error_t gfs_pio_read(GFS_File gf , void * buffer , int size , int * np ); |
DESCRIPTION
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.
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 gf is not a valid or is not open for reading.
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_open (3)