Man page - gfs_pio_seek(3)
Packages contas this manual
- gfs_pio_create(3)
- gfarm_initialize(3)
- gfs_acl_init(3)
- gfs_acl_from_xattr_value(3)
- gfs_acl_dup(3)
- gfs_unlink(3)
- gfs_acl_get_entry(3)
- gfs_acl_delete_entry(3)
- gfs_pio_sendfile(3)
- gfs_pio_seek(3)
- gfs_acl_delete_perm(3)
- gfs_acl_sort(3)
- gfs_acl_equiv_mode(3)
- gfs_acl_to_text(3)
- gfs_pio_recvfile(3)
- gfs_acl_valid(3)
- gfs_mkdir(3)
- gfs_acl_free(3)
- gfs_acl_get_perm(3)
- gfs_acl_to_xattr_value(3)
- gfs_acl_add_perm(3)
- gfarm(3)
- gfs_acl_check(3)
- gfarm_terminate(3)
- gfs_pio_read(3)
- gfs_pio_sync(3)
- gfs_acl_delete_def_file(3)
- gfs_pio_write(3)
- gfs_acl_get_tag_type(3)
- gfs_acl_set_permset(3)
- gfs_pio_open(3)
- gfs_stat_free(3)
- gfs_acl_set_tag_type(3)
- gfs_pio_close(3)
- gfs_rmdir(3)
- gfs_acl_calc_mask(3)
- gfs_pio_flush(3)
- gfs_acl_set_qualifier(3)
- gfs_acl_from_mode(3)
- gfs_acl_from_text(3)
- gfs_stat(3)
- gfs_acl_get_qualifier(3)
- gfs_acl_entries(3)
- gfs_acl_set_file(3)
- gfs_acl_error(3)
- gfs_acl_to_any_text(3)
- gfs_acl_get_permset(3)
- gfs_pio_datasync(3)
- gfs_acl_cmp(3)
- gfs_acl_clear_perms(3)
- gfs_acl_get_file(3)
- gfs_acl_from_text_with_default(3)
- gfs_acl_create_entry(3)
Package: libgfarm-dev
apt-get install libgfarm-dev
apt-get install libgfarm-dev
Manuals in package:
Documentations in package:
Available languages:
en jaManual
| GFS_PIO_SEEK(3) | Gfarm | GFS_PIO_SEEK(3) |
NAME
gfs_pio_seek - reposition a stream
SYNOPSIS
#include <gfarm/gfarm.h>
gfarm_error_t gfs_pio_seek(GFS_File gf, gfarm_off_t offset, int whence, gfarm_off_t * result);
DESCRIPTION
The gfs_pio_seek() function sets the file position indicator for the file gf. The new position, measured in bytes, is obtained by adding offset bytes to the position specified by whence. If whence is set to GFARM_SEEK_SET, GFARM_SEEK_CUR, or GFARM_SEEK_END, the offset is relative to the start of the file, the current position indicator, or end-of-file, respectively. When result is not NULL, the new position returns to the address pointed by result.
RETURN VALUES
GFARM_ERR_NO_ERROR
The function terminated successfully.
GFARM_ERR_NO_MEMORY
Insufficient memory was available.
GFARM_ERR_INVALID_ARGUMENT
Specified whence or offset is invalid.
Other
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)
| 20 Jun 2019 | Gfarm |