Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 83264 invoked by uid 500); 22 Nov 2002 19:24:11 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 83253 invoked from network); 22 Nov 2002 19:24:10 -0000 X-Authentication-Warning: rdu74-177-063.nc.rr.com: trawick set sender to trawick@attglobal.net using -f Sender: trawick@rdu74-177-063.nc.rr.com To: Damir Dezeljin Cc: APR Subject: Re: ftell() equivalent??? References: From: Jeff Trawick Date: 22 Nov 2002 14:32:57 -0500 In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Damir Dezeljin writes: > Hi. > > Is there any APR function to get current stream and/or file position. for file position, apr_file_seek() can tell you where you are offset = 0; apr_file_seek(myfile, APR_CUR, &offset); offset now has location in file > Does this applay also to apr_socket_t ? APR doesn't keep up with how many bytes have been read on a socket so it can't give you any such position information. -- Jeff Trawick | trawick@attglobal.net Born in Roswell... married an alien...