Document remaining error return codes. --HG-- branch : HEAD
diff --git a/man/zip_close.mdoc b/man/zip_close.mdoc index 44ca08e..1c5c5c8 100644 --- a/man/zip_close.mdoc +++ b/man/zip_close.mdoc
@@ -1,4 +1,4 @@ -.\" $NiH: zip_close.mdoc,v 1.8 2004/12/22 16:37:33 wiz Exp $ +.\" $NiH: zip_close.mdoc,v 1.9 2005/06/09 18:50:27 wiz Exp $ .\" .\" zip_close.mdoc -- close zip archive .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner @@ -31,7 +31,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd October 3, 2003 +.Dd June 9, 2005 .Dt ZIP_CLOSE 3 .Os .Sh NAME @@ -65,6 +65,8 @@ .Fn zip_close will fail if: .Bl -tag -width Er +.It Bq Er ZIP_ER_EOF +Unexpected end-of-file found while reading from a file. .It Bq Er ZIP_ER_INVAL The .Ar path @@ -84,8 +86,12 @@ A temporary file could not be created. .It Bq Er ZIP_ER_WRITE A file write failed. -.\" XXX: list incomplete: add_data, copy_data +.It Bq Er ZIP_ER_ZLIB +An error occurred while (de)compressing a stream with +.Xr zlib 3 . .El +Additionally, any errors returned by the callback function +for added or replaced files will be passed back. .Sh SEE ALSO .Xr libzip 3 , .Xr zip_error_get 3 ,