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
12 zzip_off_t
13 zzip_tell(ZZIP_FILE * fp)
14
15 long
16 zzip_tell32(ZZIP_FILE * fp)
17
18
19
20
22 The zzip_tell function will tell(2) the current position in a
23 real/zipped file
24
25 It will return the current offset within the real/zipped file,
26 measured in uncompressed bytes for the zipped-file case.
27
28 If the file-handle is wrapping a stat'able file then it will actually
29 just perform a normal tell(2)-call, otherwise the offset is calculated
30 from the amount of data left and the total uncompressed size;
31
32 The zzip_tell32 function is provided for users who can not use any
33 largefile-mode.
34
35
36
38 Guido Draheim <guidod@gmx.de> Tomi Ollila <Tomi.Ollila@iki.fi>
39
40
41
43 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
44
45
46
47
48
49zziplib 0.13.72 zzip_tell(3)