apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: remaining issues prior to 1.0?
Date Wed, 03 Sep 2003 04:24:42 GMT
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

    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


View raw message