[Gluster-devel] How to find the current offset in an open file through libgfapi

Brad Childs bdc at redhat.com
Wed Nov 20 18:26:35 UTC 2013


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?

-bc





More information about the Gluster-devel mailing list