1ZIP_FTELL(3) BSD Library Functions Manual ZIP_FTELL(3)
2
4 zip_ftell — tell position in file
5
7 libzip (-lzip)
8
10 #include <zip.h>
11
12 zip_int64_t
13 zip_ftell(zip_file_t *file);
14
16 The zip_ftell() function reports the current offset in the file.
17
18 zip_ftell only works on uncompressed (stored) data. When called on com‐
19 pressed data it will return an error.
20
22 If successful, zip_ftell returns the current file position. Otherwise,
23 -1 is returned.
24
26 libzip(3), zip_fclose(3), zip_fopen(3), zip_fread(3), zip_fseek(3)
27
29 zip_ftell() was added in libzip 1.2.0.
30
32 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
33
34BSD December 18, 2017 BSD