regen.
--HG--
branch : HEAD
diff --git a/man/zip_source_function.man b/man/zip_source_function.man
index 671a770..777a3c7 100644
--- a/man/zip_source_function.man
+++ b/man/zip_source_function.man
@@ -1,9 +1,9 @@
.\" Converted with mdoc2man 0.2
-.\" from NiH: zip_source_function.mdoc,v 1.14 2005/07/20 17:18:04 wiz Exp
-.\" $NiH: zip_source_function.mdoc,v 1.14 2005/07/20 17:18:04 wiz Exp $
+.\" from NiH: zip_source_function.mdoc,v 1.16 2006/03/25 16:14:59 dillo Exp
+.\" $NiH: zip_source_function.mdoc,v 1.16 2006/03/25 16:14:59 dillo Exp $
.\"
.\" zip_source_function.mdoc \-- create data source from function
-.\" Copyright (C) 2004, 2005 Dieter Baron and Thomas Klausner
+.\" Copyright (C) 2004-2006 Dieter Baron and Thomas Klausner
.\"
.\" This file is part of libzip, a library to manipulate ZIP archives.
.\" The authors can be contacted at <nih@giga.or.at>
@@ -33,7 +33,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.TH ZIP_SOURCE_FUNCTION 3 "July 20, 2005" NiH
+.TH ZIP_SOURCE_FUNCTION 3 "March 25, 2006" NiH
.SH "NAME"
zip_source_function \- create data source from function
.SH "LIBRARY"
@@ -54,7 +54,7 @@
.Ed
.PP
When called by the library, the first argument is the
-\fBstate\fR
+\fBuserdata\fR
argument supplied to
.Fn zip_source_function.
The next two arguments are a buffer
@@ -89,7 +89,7 @@
Get meta information for the input data.
\fBdata\fR
points to a struct zip_stat, which should be filled in.
-Return 0 on success, \-1 on error.
+Return sizeof(struct zip_stat) on success, \-1 on error.
.TP 21
\fBZIP_SOURCE_ERROR\fR
Get error information.
@@ -100,7 +100,7 @@
See
zip_errors(3)
for details on the error codes.
-Return 0.
+Return return(2 * sizeof(int)).
.TP 21
\fBZIP_SOURCE_FREE\fR
Clean up and free all resources.