from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
|
You are here: manpages
ZIP_FSEEK
Section: C Library Functions (3) Index
Return to Main Contents
BSD mandoc
NAME
zip_fseek
zip_file_is_seekable
- seek in file
LIBRARY
libzip -lzip)
SYNOPSIS
In zip.h
Ft zip_int8_t
Fn zip_fseek zip_file_t *file zip_int64_t offset int whence
Ft int
Fn zip_file_is_seekable zip_file_t *file
DESCRIPTION
The
Fn zip_fseek
function seeks to the specified
offset
relative to
whence
just like
fseek(3).
only works on uncompressed (stored), unencrypted data.
When called on compressed or encrypted data it will return an error.
The
Fn zip_file_is_seekable
function returns 1 if a file is seekable.
RETURN VALUES
If successful,
Fn zip_fseek
returns 0.
Otherwise, -1 is returned.
Fn zip_file_is_seekable
returns 1 if a file is seekable and 0 if not.
On an invalid argument, it returns -1.
SEE ALSO
libzip(3),
zip_fclose3,
zip_file_get_error3,
zip_fopen3,
zip_fread3,
zip_ftell3
HISTORY
Fn zip_fseek
was added in libzip 1.2.0.
Fn zip_file_is_seekable
was added in libzip 1.9.0.
AUTHORS
An -nosplit
An Dieter Baron Aq Mt dillo@nih.at
and
An Thomas Klausner Aq Mt wiz@gatalith.at
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- SEE ALSO
-
- HISTORY
-
- AUTHORS
-
|