Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
zzip_file_read(3)	     zziplib Function List	     zzip_file_read(3)

NAME
       zzip_file_read -	 read data.

SYNOPSIS
       #include	<zzip/lib.h>

       zzip_ssize_t
       zzip_file_read(ZZIP_FILE* fp, void* buf,	zzip_size_t len)

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

	This fuction works like	read(2)	and 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.

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

	Note: the 32K buffer is	rather big. The	original inflate-algorithm
       required	just that but the latest zlib would work just fine with	a
       smaller buffer.

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

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

zziplib				    0.13.78		     zzip_file_read(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=zzip_file_read&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help