Name

— (../../zzip/file.c) zzip_tell

Synopsis

 #include <zziplib.h>
zzip_off_t zzip_tell(); 
 ;

Description

The zzip_tell function will tell(2) the current position in a real/zipped file

It will return the current offset within the real/zipped file, measured in uncompressed bytes for the zipped-file case.

If the file-handle is wrapping a stat'able file then it will actually just perform a normal tell(2)-call, otherwise the offset is calculated from the amount of data left and the total uncompressed size;

Author

Copyright

(c) 1999,2000,2001,2002 Guido Draheim 
           All rights reserved, 
           use under the restrictions of the 
           Lesser GNU General Public License 
           note the additional license information  
           that can be found in COPYING.ZZIP