ZIP_SOURCE_READ
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
NAME
zip_source_read
- read data from zip source
LIBRARY
libzip (-lzip)
SYNOPSIS
In zip.h
Ft zip_int64_t
Fn zip_source_read zip_source_t *source void *data zip_uint64_t len
DESCRIPTION
The function
Fn zip_source_read
reads up to
len
bytes of data from
source
at the current read offset into the buffer
data
The zip source
source
has to be opened for reading by calling
zip_source_open3
first.
RETURN VALUES
Upon successful completion the number of bytes read is returned.
Upon reading end-of-file, zero is returned.
Otherwise, -1 is returned and the error information in
source
is set to indicate the error.
SEE ALSO
libzip(3),
zip_source3,
zip_source_seek3,
zip_source_tell3,
zip_source_write3
HISTORY
Fn zip_source_read
was added in libzip 1.0.
AUTHORS
An -nosplit
An Dieter Baron Aq Mt dillo@nih.at
and
An Thomas Klausner Aq Mt tk@giga.or.at
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- SEE ALSO
-
- HISTORY
-
- AUTHORS
-
This document was created by
man2html,
using the manual pages.
Time: 03:57:12 GMT, May 23, 2024