you can: curr_offset = glfs_lseek (glfd, 0, SEEK_CUR)
Avati On Wed, Nov 20, 2013 at 10:26 AM, Brad Childs <[email protected]> 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? > > -bc > > > _______________________________________________ > Gluster-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/gluster-devel >
_______________________________________________ Gluster-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/gluster-devel
