[Gluster-devel] How to find the current offset in an open file through libgfapi
avati at gluster.org
Wed Nov 20 18:31:29 UTC 2013
curr_offset = glfs_lseek (glfd, 0, SEEK_CUR)
On Wed, Nov 20, 2013 at 10:26 AM, Brad Childs <bdc at redhat.com> wrote:
> Hello list,
> I'm trying to find the current offset of an open file through libgfapi. I
> have the glfs_fd_t of the file, i've done some reading and want to know the
> current location.
> Can I achieve this without manually keeping track after every read or seek?
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-devel