On Tue, 2 Sep 2003, Stas Bekman wrote:

> 3) there is no apr_file_tell
> http://marc.theaimsgroup.com/?t=100748110600004&r=1&w=2

You don't need one.  Just as there is an lseek() but no ltell(), you can
do:

    apr_off_t offs = 0;
    apr_file_seek(fd, APR_CUR, &offs);

at which point offs will have been updated to contain the current absolute
position of the file pointer.

The same thing applies to sysseek() in perl, by the way... there is no
systell().

--Cliff

Reply via email to