Add .Xr to libzip(3).

--HG--
branch : HEAD
diff --git a/man/zip_close.mdoc b/man/zip_close.mdoc
index e02f25a..44ca08e 100644
--- a/man/zip_close.mdoc
+++ b/man/zip_close.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_close.mdoc,v 1.7 2004/12/01 00:30:43 wiz Exp $
+.\" $NiH: zip_close.mdoc,v 1.8 2004/12/22 16:37:33 wiz Exp $
 .\"
 .\" zip_close.mdoc -- close zip archive
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -87,6 +87,7 @@
 .\" XXX: list incomplete: add_data, copy_data
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_error_get 3 ,
 .Xr zip_open 3 ,
 .Xr zip_strerror 3
diff --git a/man/zip_delete.mdoc b/man/zip_delete.mdoc
index 0ba414a..9a8d3c9 100644
--- a/man/zip_delete.mdoc
+++ b/man/zip_delete.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_delete.mdoc,v 1.5 2004/11/17 21:55:15 wiz Exp $
+.\" $NiH: zip_delete.mdoc,v 1.6 2004/11/30 22:26:56 wiz Exp $
 .\"
 .\" zip_delete.mdoc -- delete files from zip archive
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -65,4 +65,5 @@
 .\: XXX: also ch_func ZIP_CMD_CLOSE errors
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_unchange 3
diff --git a/man/zip_error_get.mdoc b/man/zip_error_get.mdoc
index 2449679..1f7139d 100644
--- a/man/zip_error_get.mdoc
+++ b/man/zip_error_get.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_error_get.mdoc,v 1.3 2004/12/03 15:23:10 dillo Exp $
+.\" $NiH: zip_error_get.mdoc,v 1.4 2004/12/22 15:49:19 wiz Exp $
 .\"
 .\" zip_error_get.mdoc -- get error codes for archive or file
 .\" Copyright (C) 2004 Dieter Baron and Thomas Klausner
@@ -72,5 +72,6 @@
 function does the same for the zip file
 .Ar zf .
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_error_get_sys_type 3 ,
 .Xr zip_error_to_str 3
diff --git a/man/zip_error_get_sys_type.mdoc b/man/zip_error_get_sys_type.mdoc
index be9f4e0..ef0f0d3 100644
--- a/man/zip_error_get_sys_type.mdoc
+++ b/man/zip_error_get_sys_type.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_error_get_sys_type.mdoc,v 1.2 2004/12/03 15:23:10 dillo Exp $
+.\" $NiH: zip_error_get_sys_type.mdoc,v 1.1 2004/12/22 15:49:19 wiz Exp $
 .\"
 .\" zip_error_get_sys_type.mdoc -- get type of error
 .\" Copyright (C) 2004 Dieter Baron and Thomas Klausner
@@ -59,6 +59,7 @@
 .Xr zlib 3 .
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_error_get  3 ,
 .Xr zip_error_to_str  3 ,
 .Xr zip_file_error_get  3
diff --git a/man/zip_error_to_str.mdoc b/man/zip_error_to_str.mdoc
index b8759f7..3b78bac 100644
--- a/man/zip_error_to_str.mdoc
+++ b/man/zip_error_to_str.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_error_to_str.mdoc,v 1.3 2004/12/22 15:49:20 wiz Exp $
+.\" $NiH: zip_error_to_str.mdoc,v 1.4 2004/12/22 16:37:48 wiz Exp $
 .\"
 .\" zip_error_to_str.mdoc -- get string representation of zip error code
 .\" Copyright (C) 2003, 2004 Dieter Baron and Thomas Klausner
@@ -76,6 +76,7 @@
 .Ar buf ,
 excluding the terminating NUL character.
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_error_get 3 ,
 .Xr zip_error_get_sys_type 3 ,
 .Xr zip_file_error_get 3 ,
diff --git a/man/zip_fclose.mdoc b/man/zip_fclose.mdoc
index 1ddf534..ed68fc1 100644
--- a/man/zip_fclose.mdoc
+++ b/man/zip_fclose.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_fclose.mdoc,v 1.3 2003/10/03 23:40:00 wiz Exp $
+.\" $NiH: zip_fclose.mdoc,v 1.4 2004/11/30 22:26:56 wiz Exp $
 .\"
 .\" zip_fclose.mdoc -- close file in zip archive
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -55,5 +55,6 @@
 .\" .Sh ERRORS
 .\" XXX: the code needs checking.
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_fopen 3 ,
 .Xr zip_fread 3
diff --git a/man/zip_file_strerror.mdoc b/man/zip_file_strerror.mdoc
index fbbf715..68d97be 100644
--- a/man/zip_file_strerror.mdoc
+++ b/man/zip_file_strerror.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_file_strerror.mdoc,v 1.3 2004/11/24 16:15:30 wiz Exp $
+.\" $NiH: zip_file_strerror.mdoc,v 1.3 2004/12/22 16:50:36 wiz Exp $
 .\"
 .\" zip_file_strerror.mdoc -- get string representation for a zip error
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -73,4 +73,5 @@
 .Fn zip_strerror
 return a pointer to the error string.
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_error_to_str 3
diff --git a/man/zip_fopen.mdoc b/man/zip_fopen.mdoc
index a4bd353..5cec103 100644
--- a/man/zip_fopen.mdoc
+++ b/man/zip_fopen.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_fopen.mdoc,v 1.8 2004/12/22 16:37:48 wiz Exp $
+.\" $NiH: zip_fopen.mdoc,v 1.9 2005/01/11 18:38:17 wiz Exp $
 .\"
 .\" zip_fopen.mdoc -- open file in zip archive for reading
 .\" Copyright (C) 2003, 2004 Dieter Baron and Thomas Klausner
@@ -114,6 +114,7 @@
 .Ar index
 is invalid.
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_fclose 3 ,
 .Xr zip_fread 3 ,
 .Xr zip_name_locate 3
diff --git a/man/zip_fread.mdoc b/man/zip_fread.mdoc
index 83f116d..9735c0d 100644
--- a/man/zip_fread.mdoc
+++ b/man/zip_fread.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_fread.mdoc,v 1.2 2003/10/03 12:04:08 dillo Exp $
+.\" $NiH: zip_fread.mdoc,v 1.3 2003/10/03 23:36:25 wiz Exp $
 .\"
 .\" zip_fread.mdoc -- read from file
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -59,5 +59,6 @@
 .\" .Sh ERRORS
 .\" XXX: the code needs checking.
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_fclose 3 ,
 .Xr zip_fopen 3
diff --git a/man/zip_get_name.mdoc b/man/zip_get_name.mdoc
index 7603db7..44886c8 100644
--- a/man/zip_get_name.mdoc
+++ b/man/zip_get_name.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_get_name.mdoc,v 1.6 2004/11/30 23:05:49 wiz Exp $
+.\" $NiH: zip_get_name.mdoc,v 1.7 2005/01/20 20:49:46 wiz Exp $
 .\"
 .\" zip_get_name.mdoc -- get name of file by index
 .\" Copyright (C) 2003, 2004, 2005 Dieter Baron and Thomas Klausner
@@ -84,4 +84,5 @@
 .Dv ZIP_FL_UNCHANGED
 is set.
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_name_locate 3
diff --git a/man/zip_get_num_files.mdoc b/man/zip_get_num_files.mdoc
index 372b632..58ed081 100644
--- a/man/zip_get_num_files.mdoc
+++ b/man/zip_get_num_files.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH$
+.\" $NiH: zip_get_num_files.mdoc,v 1.1 2003/12/27 22:56:50 wiz Exp $
 .\"
 .\" zip_get_num_files.mdoc -- get number of files in archive
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -55,4 +55,5 @@
 .Ar archive
 is
 .Dv NULL .
-.\" .Sh SEE ALSO
+.Sh SEE ALSO
+.Xr libzip 3
diff --git a/man/zip_name_locate.mdoc b/man/zip_name_locate.mdoc
index 937e093..f215c57 100644
--- a/man/zip_name_locate.mdoc
+++ b/man/zip_name_locate.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_name_locate.mdoc,v 1.3.2.1 2004/04/14 12:43:44 dillo Exp $
+.\" $NiH: zip_name_locate.mdoc,v 1.4 2004/04/14 14:01:29 dillo Exp $
 .\"
 .\" zip_name_locate.mdoc -- get index of file by name
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -66,4 +66,5 @@
 .El
 .\" .Sh RETURN VALUES
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_get_name 3
diff --git a/man/zip_open.mdoc b/man/zip_open.mdoc
index 26cbc0b..455b153 100644
--- a/man/zip_open.mdoc
+++ b/man/zip_open.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_open.mdoc,v 1.16 2004/11/17 21:55:16 wiz Exp $
+.\" $NiH: zip_open.mdoc,v 1.17 2004/11/24 16:15:54 wiz Exp $
 .\"
 .\" zip_open.mdoc -- open zip archive
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -127,5 +127,6 @@
 does not allow seeks.
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_close 3 ,
 .Xr zip_error_to_str 3
diff --git a/man/zip_rename.mdoc b/man/zip_rename.mdoc
index d83f728..a0c4ec5 100644
--- a/man/zip_rename.mdoc
+++ b/man/zip_rename.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_rename.mdoc,v 1.3 2004/11/30 22:21:49 wiz Exp $
+.\" $NiH: zip_rename.mdoc,v 1.4 2004/11/30 22:26:56 wiz Exp $
 .\"
 .\" zip_rename.mdoc -- rename file in zip archive
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -69,4 +69,5 @@
 .Ar archive .
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_unchange 3
diff --git a/man/zip_source_buffer.mdoc b/man/zip_source_buffer.mdoc
index 348eef9..7ee3088 100644
--- a/man/zip_source_buffer.mdoc
+++ b/man/zip_source_buffer.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_buffer.mdoc,v 1.1 2004/11/18 15:10:49 wiz Exp $
+.\" $NiH: zip_source_buffer.mdoc,v 1.1 2004/11/18 17:26:52 wiz Exp $
 .\"
 .\" zip_source_buffer.mdoc -- create zip data source from buffer
 .\" Copyright (C) 2004 Dieter Baron and Thomas Klausner
@@ -77,6 +77,7 @@
 Required memory could not be allocated.
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_add 3 ,
 .Xr zip_replace 3 ,
 .Xr zip_source_file 3 ,
diff --git a/man/zip_source_file.mdoc b/man/zip_source_file.mdoc
index f6724b7..df0b521 100644
--- a/man/zip_source_file.mdoc
+++ b/man/zip_source_file.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_file.mdoc,v 1.2 2004/11/18 17:26:53 wiz Exp $
+.\" $NiH: zip_source_file.mdoc,v 1.3 2004/12/22 16:37:48 wiz Exp $
 .\"
 .\" zip_source_file.mdoc -- create data source from a file
 .\" Copyright (C) 2004 Dieter Baron and Thomas Klausner
@@ -84,6 +84,7 @@
 failed.
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_add 3 ,
 .Xr zip_replace 3 ,
 .Xr zip_source_buffer 3 ,
diff --git a/man/zip_source_filep.mdoc b/man/zip_source_filep.mdoc
index a4b6cf1..d196f1f 100644
--- a/man/zip_source_filep.mdoc
+++ b/man/zip_source_filep.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_filep.mdoc,v 1.1 2004/11/18 16:48:07 wiz Exp $
+.\" $NiH: zip_source_filep.mdoc,v 1.2 2004/11/18 17:26:54 wiz Exp $
 .\"
 .\" zip_source_filep.mdoc -- create data source from a file stream
 .\" Copyright (C) 2004 Dieter Baron and Thomas Klausner
@@ -79,6 +79,7 @@
 Required memory could not be allocated.
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_add 3 ,
 .Xr zip_replace 3 ,
 .Xr zip_source_buffer 3 ,
diff --git a/man/zip_source_free.mdoc b/man/zip_source_free.mdoc
index c759709..7c7b256 100644
--- a/man/zip_source_free.mdoc
+++ b/man/zip_source_free.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_free.mdoc,v 1.1 2004/11/18 16:49:20 wiz Exp $
+.\" $NiH: zip_source_free.mdoc,v 1.2 2004/11/18 17:26:54 wiz Exp $
 .\"
 .\" zip_source_free.mdoc -- free zip data source
 .\" Copyright (C) 2004 Dieter Baron and Thomas Klausner
@@ -54,6 +54,7 @@
 .Dv NULL ,
 it does nothing.
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_source_buffer 3 ,
 .Xr zip_source_file 3 ,
 .Xr zip_source_filep 3 ,
diff --git a/man/zip_source_function.mdoc b/man/zip_source_function.mdoc
index 6b6e6a9..e5763cf 100644
--- a/man/zip_source_function.mdoc
+++ b/man/zip_source_function.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_function.mdoc,v 1.6 2004/12/22 16:19:54 wiz Exp $
+.\" $NiH: zip_source_function.mdoc,v 1.7 2004/12/22 16:21:00 wiz Exp $
 .\"
 .\" zip_source_function.mdoc -- create data source from function
 .\" Copyright (C) 2004 Dieter Baron and Thomas Klausner
@@ -130,6 +130,7 @@
 Required memory could not be allocated.
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_add 3 ,
 .Xr zip_replace 3 ,
 .Xr zip_source_buffer 3 ,
diff --git a/man/zip_source_zip.mdoc b/man/zip_source_zip.mdoc
index e59e2ce..e18308a 100644
--- a/man/zip_source_zip.mdoc
+++ b/man/zip_source_zip.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_zip.mdoc,v 1.1 2004/11/18 16:48:08 wiz Exp $
+.\" $NiH: zip_source_zip.mdoc,v 1.2 2004/11/18 17:26:54 wiz Exp $
 .\"
 .\" zip_source_zip.mdoc -- create data source from zip file
 .\" Copyright (C) 2004 Dieter Baron and Thomas Klausner
@@ -104,6 +104,7 @@
 and
 .Fn zip_fopen_index .
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_add 3 ,
 .Xr zip_replace 3 ,
 .Xr zip_source_buffer 3 ,
diff --git a/man/zip_stat.mdoc b/man/zip_stat.mdoc
index e5bcdbf..72f0622 100644
--- a/man/zip_stat.mdoc
+++ b/man/zip_stat.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_stat.mdoc,v 1.2 2004/04/14 14:01:30 dillo Exp $
+.\" $NiH: zip_stat.mdoc,v 1.3 2004/11/17 21:55:16 wiz Exp $
 .\"
 .\" zip_stat.mdoc -- get information about file
 .\" Copyright (C) 2003, 2004 Dieter Baron and Thomas Klausner
@@ -105,4 +105,5 @@
 is invalid.
 .\" XXX: ZIP_ER_CHANGED
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_name_locate 3
diff --git a/man/zip_unchange.mdoc b/man/zip_unchange.mdoc
index 64903f9..c11079f 100644
--- a/man/zip_unchange.mdoc
+++ b/man/zip_unchange.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_unchange.mdoc,v 1.5 2004/11/30 22:26:56 wiz Exp $
+.\" $NiH: zip_unchange.mdoc,v 1.6 2004/11/30 23:08:21 wiz Exp $
 .\"
 .\" zip_unchange.mdoc -- undo changes to file in zip archive
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -65,4 +65,5 @@
 .\: XXX: also ch_func ZIP_CMD_CLOSE errors
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_unchange_all 3
diff --git a/man/zip_unchange_all.mdoc b/man/zip_unchange_all.mdoc
index e188620..1e278db 100644
--- a/man/zip_unchange_all.mdoc
+++ b/man/zip_unchange_all.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_unchange_all.mdoc,v 1.3 2003/10/03 12:04:09 dillo Exp $
+.\" $NiH: zip_unchange_all.mdoc,v 1.4 2004/11/30 22:26:56 wiz Exp $
 .\"
 .\" zip_unchange_all.mdoc -- undo changes to all files in zip archive
 .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner
@@ -56,4 +56,5 @@
 .\: XXX: ch_func ZIP_CMD_CLOSE errors
 .El
 .Sh SEE ALSO
+.Xr libzip 3 ,
 .Xr zip_unchange 3
diff --git a/man/zipmerge.mdoc b/man/zipmerge.mdoc
index 9dc875b..e7d10c7 100644
--- a/man/zipmerge.mdoc
+++ b/man/zipmerge.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zipmerge.mdoc,v 1.1 2004/12/22 17:27:56 wiz Exp $
+.\" $NiH: zipmerge.mdoc,v 1.2 2005/06/09 18:45:58 wiz Exp $
 .\"
 .\" zipmerge.mdoc -- merge zip archives
 .\" Copyright (C) 2004 Dieter Baron and Thomas Klausner
@@ -78,4 +78,5 @@
 .Nm
 exits 0 on success and \*[Gt]1 if an error code.
 .Sh SEE ALSO
-.Xr zipcmp 1
+.Xr zipcmp 1 ,
+.Xr libzip 3