zzip_file_read(3)

NAME
zzip_file_read - read data.

SYNOPSIS

#include <zzip/lib.h>

b'zzip_ssize_t\fInzzip_file_read(ZZIP_FILE * fp, void *buf, zzip_size_t len)n'

DESCRIPTION
b' The zzip_file_read function reads data from zip-contained file.

b'This fuction works like read(2) and will fill the given buffer with bytes fromthe opened file. It will return the number of bytes read, so if the EOFis encountered you will be prompted with the number of bytes actually read.

b'This is the routines that needs the buf32k buffer, and it would haveneed for much more polishing but it does already work quite well.

b'Note: the 32K buffer is rather big. The original inflate-algorithmrequired just that but the latest zlib would work just fine witha smaller buffer.n

AUTHOR
b'Guido Draheim <guidod@gmx.de>Tomi Ollila <Tomi.Ollila@iki.fi>

COPYRIGHT
b'Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)n'