zzip_read, zzip_fread —
zzip_read function will read(2) data from a real/zipped file.
the replacement for
read(2) will fill the given buffer with bytes from
the opened file. It will return the number of bytes read, so if the EOF
is encountered you will be prompted with the number of bytes actually read.
If the file-handle is wrapping a stat'able file then it will actually just
perform a normal
zzip_file_read is called
to decompress the data stream and any error is mapped to