1ZIP_FSEEK(3)             BSD Library Functions Manual             ZIP_FSEEK(3)
2

NAME

4     zip_fseek — seek in file
5

LIBRARY

7     libzip (-lzip)
8

SYNOPSIS

10     #include <zip.h>
11
12     zip_int8_t
13     zip_fseek(zip_file_t *file, zip_int64_t offset, int whence);
14

DESCRIPTION

16     The zip_fseek() function seeks to the specified offset relative to
17     whence, just like fseek(3).
18
19     zip_fseek only works on uncompressed (stored) data.  When called on com‐
20     pressed data it will return an error.
21

RETURN VALUES

23     If successful, zip_fseek returns 0.  Otherwise, -1 is returned.
24

SEE ALSO

26     libzip(3), zip_fclose(3), zip_fopen(3), zip_fread(3), zip_ftell(3)
27

HISTORY

29     zip_fseek() was added in libzip 1.2.0.
30

AUTHORS

32     Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
33
34BSD                            December 18, 2017                           BSD
Impressum