"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.6.0/man/zip_fseek.man" (24 Jan 2020, 2640 Bytes) of package /linux/misc/libzip-1.6.0.tar.xz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the last Fossies "Diffs" side-by-side code changes report for "zip_fseek.man": 1.3.2_vs_1.4.0.

ZIP_FSEEK

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
HISTORY
AUTHORS

NAME

zip_fseek − seek in file

LIBRARY

libzip (-lzip)

SYNOPSIS

#include <zip.h>

zip_int8_t

zip_fseek(zip_file_t *file, zip_int64_t offset, int whence);

DESCRIPTION

The zip_fseek() function seeks to the specified offset relative to whence, just like fseek(3).

zip_fseek only works on uncompressed (stored) data. When called on compressed data it will return an error.

RETURN VALUES

If successful, zip_fseek returns 0. Otherwise, −1 is returned.

SEE ALSO

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

HISTORY

zip_fseek() was added in libzip 1.2.0.

AUTHORS

Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>