1zzip_file_read(3)            zziplib Function List           zzip_file_read(3)
2
3
4

NAME

6       zzip_file_read -  read data.
7

SYNOPSIS

9       #include <zzip/lib.h>
10
11
12       zzip_ssize_t
13       zzip_file_read(ZZIP_FILE * fp, void *buf, zzip_size_t len)
14
15
16
17

DESCRIPTION

19        The zzip_file_read function reads data from zip-contained file.
20
21        This fuction works like read(2) and will fill the given buffer with
22       bytes from the opened file. It will return the number of bytes read, so
23       if the EOF is encountered you will be prompted with the number of bytes
24       actually read.
25
26        This is the routines that needs the buf32k buffer, and it would have
27       need for much more polishing but it does already work quite well.
28
29        Note: the 32K buffer is rather big. The original inflate-algorithm
30       required just that but the latest zlib would work just fine with a
31       smaller buffer.
32
33
34

AUTHOR

36        Guido Draheim <guidod@gmx.de> Tomi Ollila <Tomi.Ollila@iki.fi>
37
38
39
41        Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
42
43
44
45
46
47zziplib                             0.13.72                  zzip_file_read(3)
Impressum