1ZZIP_TELL(3) zziplib Function List ZZIP_TELL(3)
2
3
4
6 zzip_tell, zzip_tell32 - tell.
7
9 #include <zzip/lib.h>
10
11 zzip_off_t zzip_tell((ZZIP_FILE * fp));
12
13 long zzip_tell32((ZZIP_FILE * fp));
14
16 The zzip_tell function will tell(2) the current position in a
17 real/zipped file
18
19 It will return the current offset within the real/zipped file, measured
20 in uncompressed bytes for the zipped-file case.
21
22 If the file-handle is wrapping a stat'able file then it will actually
23 just perform a normal tell(2)-call, otherwise the offset is calculated
24 from the amount of data left and the total uncompressed size;
25
26 The zzip_tell32 function is provided for users who can not use any
27 largefile-mode.
28
30 ยท Guido Draheim <guidod@gmx.de> Tomi Ollila <Tomi.Ollila@iki.fi>
31
33 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
34
35
36
37zziplib 0.13.71 ZZIP_TELL(3)