regen man/html pages
diff --git a/man/ZIP_SOURCE_GET_ARGS.html b/man/ZIP_SOURCE_GET_ARGS.html
index ede5f5b..ead9ad4 100644
--- a/man/ZIP_SOURCE_GET_ARGS.html
+++ b/man/ZIP_SOURCE_GET_ARGS.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_GET_ARGS(3)</title>
</head>
@@ -52,48 +46,49 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">ZIP_SOURCE_GET_ARGS</b> —
- <span class="Nd" title="Nd">validate and cast arguments to source
- callback</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">ZIP_SOURCE_GET_ARGS</code> —
+<div class="Nd" title="Nd">validate and cast arguments to source callback</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">type *</var>
<br/>
-<b class="Fn" title="Fn">ZIP_SOURCE_GET_ARGS</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">type</var>,
+<code class="Fn" title="Fn">ZIP_SOURCE_GET_ARGS</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">type</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">void *data</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
len</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">ZIP_SOURCE_GET_ARGS</b>() macro casts
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">ZIP_SOURCE_GET_ARGS</code>() macro casts
<var class="Ar" title="Ar">data</var> to a pointer to
<var class="Ar" title="Ar">type</var>.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-On success, <b class="Fn" title="Fn">ZIP_SOURCE_GET_ARGS</b>() returns
+On success, <code class="Fn" title="Fn">ZIP_SOURCE_GET_ARGS</code>() returns
<var class="Ar" title="Ar">data</var>. In case of error, it returns
<code class="Dv" title="Dv">NULL</code> and sets
<var class="Ar" title="Ar">error</var>.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">ZIP_SOURCE_GET_ARGS</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">ZIP_SOURCE_GET_ARGS</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">len</var> is less than the size
- of <var class="Ar" title="Ar">type</var></dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">len</var> is less than the size of
+ <var class="Ar" title="Ar">type</var></dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source_function.html">zip_source_function(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">ZIP_SOURCE_GET_ARGS</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">ZIP_SOURCE_GET_ARGS</code>() was added in libzip
+ 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -101,7 +96,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/libzip.html b/man/libzip.html
index 2ea6d10..a541c00 100644
--- a/man/libzip.html
+++ b/man/libzip.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>LIBZIP(3)</title>
</head>
@@ -52,152 +46,152 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">libzip</b> — <span class="Nd" title="Nd">library
- for manipulating zip archives</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">libzip</code> —
+<div class="Nd" title="Nd">library for manipulating zip archives</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<b class="Nm" title="Nm">libzip</b> is a library for reading, creating, and
- modifying zip archives.
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<code class="Nm" title="Nm">libzip</code> is a library for reading, creating,
+ and modifying zip archives.
<div class="Pp"></div>
-The main design criteria for <b class="Nm" title="Nm">libzip</b> were:
+The main design criteria for <code class="Nm" title="Nm">libzip</code> were:
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet">Do not create corrupt files, even in case of
- errors.</li>
- <li class="It-bullet">Do not delete data.</li>
- <li class="It-bullet">Be efficient.</li>
+ <li>Do not create corrupt files, even in case of errors.</li>
+ <li>Do not delete data.</li>
+ <li>Be efficient.</li>
</ul>
<div class="Pp"></div>
For this reason, when modifying zip archives,
- <b class="Nm" title="Nm">libzip</b> writes to a temporary file and replaces
- the original zip archive atomically.
+ <code class="Nm" title="Nm">libzip</code> writes to a temporary file and
+ replaces the original zip archive atomically.
<div class="Pp"></div>
Below there are two sections listing functions: one for how to read from zip
archives and one for how to create/modify them.
-<h1 class="Sh" title="Sh" id="READING_ZIP_ARCHIVES"><a class="selflink" href="#READING_ZIP_ARCHIVES">READING
+<h1 class="Sh" title="Sh" id="READING_ZIP_ARCHIVES"><a class="permalink" href="#READING_ZIP_ARCHIVES">READING
ZIP ARCHIVES</a></h1>
-<h2 class="Ss" title="Ss" id="open_archive"><a class="selflink" href="#open_archive">open
+<h2 class="Ss" title="Ss" id="open_archive"><a class="permalink" href="#open_archive">open
archive</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_open.html">zip_open(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_fdopen.html">zip_fdopen(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_open.html">zip_open(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_fdopen.html">zip_fdopen(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="find_files"><a class="selflink" href="#find_files">find
+<h2 class="Ss" title="Ss" id="find_files"><a class="permalink" href="#find_files">find
files</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_name_locate.html">zip_name_locate(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_name_locate.html">zip_name_locate(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="read_files"><a class="selflink" href="#read_files">read
+<h2 class="Ss" title="Ss" id="read_files"><a class="permalink" href="#read_files">read
files</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_fopen_encrypted.html">zip_fopen_encrypted(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_fopen_index.html">zip_fopen_index(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_fopen_index_encrypted.html">zip_fopen_index_encrypted(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_fread.html">zip_fread(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_fseek.html">zip_fseek(3)</a>
+ <li><a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_fopen_encrypted.html">zip_fopen_encrypted(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_fopen_index.html">zip_fopen_index(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_fopen_index_encrypted.html">zip_fopen_index_encrypted(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_fread.html">zip_fread(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_fseek.html">zip_fseek(3)</a>
(uncompressed files only)</li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_ftell.html">zip_ftell(3)</a>
+ <li><a class="Xr" title="Xr" href="zip_ftell.html">zip_ftell(3)</a>
(uncompressed files only)</li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_fclose.html">zip_fclose(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_fclose.html">zip_fclose(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="close_archive"><a class="selflink" href="#close_archive">close
+<h2 class="Ss" title="Ss" id="close_archive"><a class="permalink" href="#close_archive">close
archive</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_discard.html">zip_discard(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_discard.html">zip_discard(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="miscellaneous"><a class="selflink" href="#miscellaneous">miscellaneous</a></h2>
+<h2 class="Ss" title="Ss" id="miscellaneous"><a class="permalink" href="#miscellaneous">miscellaneous</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_stat.html">zip_stat(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_get_comment.html">zip_file_get_comment(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_get_external_attributes.html">zip_file_get_external_attributes(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_get_archive_comment.html">zip_get_archive_comment(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_get_archive_flag.html">zip_get_archive_flag(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_get_name.html">zip_get_name(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_get_num_entries.html">zip_get_num_entries(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_set_default_password.html">zip_set_default_password(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_stat.html">zip_stat(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_get_comment.html">zip_file_get_comment(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_get_external_attributes.html">zip_file_get_external_attributes(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_get_archive_comment.html">zip_get_archive_comment(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_get_archive_flag.html">zip_get_archive_flag(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_get_name.html">zip_get_name(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_get_num_entries.html">zip_get_num_entries(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_set_default_password.html">zip_set_default_password(3)</a></li>
</ul>
-<h1 class="Sh" title="Sh" id="CREATING/MODIFYING_ZIP_ARCHIVES"><a class="selflink" href="#CREATING/MODIFYING_ZIP_ARCHIVES">CREATING/MODIFYING
+<h1 class="Sh" title="Sh" id="CREATING/MODIFYING_ZIP_ARCHIVES"><a class="permalink" href="#CREATING/MODIFYING_ZIP_ARCHIVES">CREATING/MODIFYING
ZIP ARCHIVES</a></h1>
-<h2 class="Ss" title="Ss" id="create/open_archive"><a class="selflink" href="#create/open_archive">create/open
+<h2 class="Ss" title="Ss" id="create/open_archive"><a class="permalink" href="#create/open_archive">create/open
archive</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_open.html">zip_open(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_open.html">zip_open(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="add/change_files_and_directories"><a class="selflink" href="#add/change_files_and_directories">add/change
+<h2 class="Ss" title="Ss" id="add/change_files_and_directories"><a class="permalink" href="#add/change_files_and_directories">add/change
files and directories</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_dir_add.html">zip_dir_add(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_add.html">zip_file_add(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_replace.html">zip_file_replace(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_set_comment.html">zip_file_set_comment(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_set_external_attributes.html">zip_file_set_external_attributes(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_set_encryption.html">zip_file_set_encryption(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_set_mtime.html">zip_file_set_mtime(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_set_file_compression.html">zip_set_file_compression(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_source_buffer.html">zip_source_buffer(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_source_file.html">zip_source_file(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_source_filep.html">zip_source_filep(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_source_free.html">zip_source_free(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_source_function.html">zip_source_function(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_source_zip.html">zip_source_zip(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_dir_add.html">zip_dir_add(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_add.html">zip_file_add(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_replace.html">zip_file_replace(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_set_comment.html">zip_file_set_comment(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_set_external_attributes.html">zip_file_set_external_attributes(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_set_encryption.html">zip_file_set_encryption(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_set_mtime.html">zip_file_set_mtime(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_set_file_compression.html">zip_set_file_compression(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_source_buffer.html">zip_source_buffer(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_source_file.html">zip_source_file(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_source_filep.html">zip_source_filep(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_source_free.html">zip_source_free(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_source_function.html">zip_source_function(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_source_zip.html">zip_source_zip(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="rename_files"><a class="selflink" href="#rename_files">rename
+<h2 class="Ss" title="Ss" id="rename_files"><a class="permalink" href="#rename_files">rename
files</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_rename.html">zip_rename(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_rename.html">zip_rename(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="delete_files"><a class="selflink" href="#delete_files">delete
+<h2 class="Ss" title="Ss" id="delete_files"><a class="permalink" href="#delete_files">delete
files</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_delete.html">zip_delete(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_delete.html">zip_delete(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="revert_changes"><a class="selflink" href="#revert_changes">revert
+<h2 class="Ss" title="Ss" id="revert_changes"><a class="permalink" href="#revert_changes">revert
changes</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_unchange.html">zip_unchange(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_unchange_all.html">zip_unchange_all(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_unchange_archive.html">zip_unchange_archive(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_unchange.html">zip_unchange(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_unchange_all.html">zip_unchange_all(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_unchange_archive.html">zip_unchange_archive(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="read/modify_extra_fields"><a class="selflink" href="#read/modify_extra_fields">read/modify
+<h2 class="Ss" title="Ss" id="read/modify_extra_fields"><a class="permalink" href="#read/modify_extra_fields">read/modify
extra fields</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_extra_field_by_id.html">zip_file_extra_field_by_id(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_extra_field_delete.html">zip_file_extra_field_delete(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_extra_field_delete_by_id.html">zip_file_extra_field_delete_by_id(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_extra_field_get.html">zip_file_extra_field_get(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_extra_field_set.html">zip_file_extra_field_set(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_extra_fields_count.html">zip_file_extra_fields_count(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_extra_fields_count_by_id.html">zip_file_extra_fields_count_by_id(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_extra_field_by_id.html">zip_file_extra_field_by_id(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_extra_field_delete.html">zip_file_extra_field_delete(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_extra_field_delete_by_id.html">zip_file_extra_field_delete_by_id(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_extra_field_get.html">zip_file_extra_field_get(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_extra_field_set.html">zip_file_extra_field_set(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_extra_fields_count.html">zip_file_extra_fields_count(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_extra_fields_count_by_id.html">zip_file_extra_fields_count_by_id(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="close_archive"><a class="selflink" href="#close_archive">close
+<h2 class="Ss" title="Ss" id="close_archive"><a class="permalink" href="#close_archive">close
archive</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a></li>
</ul>
-<h2 class="Ss" title="Ss" id="miscellaneous"><a class="selflink" href="#miscellaneous">miscellaneous</a></h2>
+<h2 class="Ss" title="Ss" id="miscellaneous"><a class="permalink" href="#miscellaneous">miscellaneous</a></h2>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_libzip_version.html">zip_libzip_version(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_register_progress_callback_with_state.html">zip_register_progress_callback_with_state(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_set_archive_comment.html">zip_set_archive_comment(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_set_archive_flag.html">zip_set_archive_flag(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_libzip_version.html">zip_libzip_version(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_register_progress_callback_with_state.html">zip_register_progress_callback_with_state(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_set_archive_comment.html">zip_set_archive_comment(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_set_archive_flag.html">zip_set_archive_flag(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a></li>
</ul>
-<h1 class="Sh" title="Sh" id="ERROR_HANDLING"><a class="selflink" href="#ERROR_HANDLING">ERROR
+<h1 class="Sh" title="Sh" id="ERROR_HANDLING"><a class="permalink" href="#ERROR_HANDLING">ERROR
HANDLING</a></h1>
<ul class="Bl-bullet Bl-compact">
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_error_to_str.html">zip_error_to_str(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_strerror.html">zip_strerror(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_file_strerror.html">zip_file_strerror(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_error_get.html">zip_error_get(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_error_get_sys_type.html">zip_error_get_sys_type(3)</a></li>
- <li class="It-bullet"><a class="Xr" title="Xr" href="zip_errors.html">zip_errors(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_error_to_str.html">zip_error_to_str(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_strerror.html">zip_strerror(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_file_strerror.html">zip_file_strerror(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_error_get.html">zip_error_get(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_error_get_sys_type.html">zip_error_get_sys_type(3)</a></li>
+ <li><a class="Xr" title="Xr" href="zip_errors.html">zip_errors(3)</a></li>
</ul>
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -205,7 +199,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_add.html b/man/zip_add.html
index ac8f8f8..7b8ef6d 100644
--- a/man/zip_add.html
+++ b/man/zip_add.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ADD(3)</title>
</head>
@@ -52,18 +46,20 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_add</b>, <b class="Nm" title="Nm">zip_replace</b>
- — <span class="Nd" title="Nd">add file to zip archive or replace file
- in zip archive (obsolete interface)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_add</code>,
+ <code class="Nm" title="Nm">zip_replace</code> —
+<div class="Nd" title="Nd">add file to zip archive or replace file in zip
+ archive (obsolete interface)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_add</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_add</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *name</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
@@ -71,40 +67,42 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_replace</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_replace</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_add</b>() is the obsolete version of
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_add</code>() is the obsolete
+ version of
<a class="Xr" title="Xr" href="zip_file_add.html">zip_file_add(3)</a>. It is
the same as calling
<a class="Xr" title="Xr" href="zip_file_add.html">zip_file_add(3)</a> with an
empty <var class="Ar" title="Ar">flags</var> argument. Similarly, the
- <b class="Fn" title="Fn">zip_replace</b>() function is the obsolete version of
+ <code class="Fn" title="Fn">zip_replace</code>() function is the obsolete
+ version of
<a class="Xr" title="Xr" href="zip_file_replace.html">zip_file_replace(3)</a>.
It is the same as calling
<a class="Xr" title="Xr" href="zip_file_replace.html">zip_file_replace(3)</a>
with an empty <var class="Ar" title="Ar">flags</var> argument.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_add.html">zip_file_add(3)</a>,
<a class="Xr" title="Xr" href="zip_file_replace.html">zip_file_replace(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_add</b>() was added in libzip 0.6. In libzip 0.10
- the return type was changed from <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_add</code>() was added in libzip 0.6. In libzip
+ 0.10 the return type was changed from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_int64_t</var>. It was deprecated in libzip
- 0.11, use <b class="Fn" title="Fn">zip_file_add</b>() instead.
+ 0.11, use <code class="Fn" title="Fn">zip_file_add</code>() instead.
<div class="Pp"></div>
-<b class="Fn" title="Fn">zip_replace</b>() was added in libzip 0.6. In libzip
- 0.10 the type of <var class="Ar" title="Ar">index</var> was changed from
- <var class="Vt" title="Vt">int</var> to
+<code class="Fn" title="Fn">zip_replace</code>() was added in libzip 0.6. In
+ libzip 0.10 the type of <var class="Ar" title="Ar">index</var> was changed
+ from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_uint64_t</var>. It was deprecated in libzip
- 0.11, use <b class="Fn" title="Fn">zip_file_replace</b>() instead.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+ 0.11, use <code class="Fn" title="Fn">zip_file_replace</code>() instead.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -112,7 +110,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_add_dir.html b/man/zip_add_dir.html
index ad7fd57..46cf777 100644
--- a/man/zip_add_dir.html
+++ b/man/zip_add_dir.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ADD_DIR(3)</title>
</head>
@@ -52,36 +46,39 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_add_dir</b> —
- <span class="Nd" title="Nd">add directory to zip archive (obsolete
- interface)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_add_dir</code> —
+<div class="Nd" title="Nd">add directory to zip archive (obsolete
+ interface)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_add_dir</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_add_dir</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *name</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_add_dir</b>() is the obsolete version
- of <a class="Xr" title="Xr" href="zip_dir_add.html">zip_dir_add(3)</a>. It is
- the same as calling
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_add_dir</code>() is the obsolete
+ version of
+ <a class="Xr" title="Xr" href="zip_dir_add.html">zip_dir_add(3)</a>. It is the
+ same as calling
<a class="Xr" title="Xr" href="zip_dir_add.html">zip_dir_add(3)</a> with an
empty flags argument.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_dir_add.html">zip_dir_add(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_add_dir</b>() was added in libzip 0.8. In libzip
- 0.10 the return type was changed from <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_add_dir</code>() was added in libzip 0.8. In
+ libzip 0.10 the return type was changed from
+ <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_int64_t</var>. It was deprecated in libzip
- 0.11, use <b class="Fn" title="Fn">zip_dir_add</b>() instead.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+ 0.11, use <code class="Fn" title="Fn">zip_dir_add</code>() instead.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -89,7 +86,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_close.html b/man/zip_close.html
index 79b09ff..3afc5ea 100644
--- a/man/zip_close.html
+++ b/man/zip_close.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_CLOSE(3)</title>
</head>
@@ -52,91 +46,90 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_close</b> —
- <span class="Nd" title="Nd">close zip archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_close</code> —
+<div class="Nd" title="Nd">close zip archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_close</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_close</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_close</b>() function writes any changes made to
- <var class="Ar" title="Ar">archive</var> to disk. If
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_close</code>() function writes any changes
+ made to <var class="Ar" title="Ar">archive</var> to disk. If
<var class="Ar" title="Ar">archive</var> contains no files, the file is
completely removed (no empty archive is written). If successful,
<var class="Ar" title="Ar">archive</var> is freed. If writing fails,
- <b class="Fn" title="Fn">zip_close</b>() fails;
+ <code class="Fn" title="Fn">zip_close</code>() fails;
<var class="Ar" title="Ar">archive</var> is left unchanged and must still be
freed.
<div class="Pp"></div>
To close and free a zip archive without saving changes, use
<a class="Xr" title="Xr" href="zip_discard.html">zip_discard(3)</a>.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error code in <var class="Ar" title="Ar">archive</var> is set to indicate the
error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_close</b>() will fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_close</code>() will fail if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_EOF"><code class="Er" title="Er" id="ZIP_ER_EOF">ZIP_ER_EOF</code></a>]</dt>
- <dd class="It-tag">Unexpected end-of-file found while reading from a
- file.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INTERNAL"><code class="Er" title="Er" id="ZIP_ER_INTERNAL">ZIP_ER_INTERNAL</code></a>]</dt>
- <dd class="It-tag">The callback function of an added or replaced file returned
- an error but failed to report which.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag">The <var class="Ar" title="Ar">path</var> argument is
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_EOF"><code class="Er" title="Er" id="ZIP_ER_EOF">ZIP_ER_EOF</code></a>]</dt>
+ <dd>Unexpected end-of-file found while reading from a file.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INTERNAL"><code class="Er" title="Er" id="ZIP_ER_INTERNAL">ZIP_ER_INTERNAL</code></a>]</dt>
+ <dd>The callback function of an added or replaced file returned an error but
+ failed to report which.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd>The <var class="Ar" title="Ar">path</var> argument is
<code class="Dv" title="Dv">NULL</code>.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_NOZIP"><code class="Er" title="Er" id="ZIP_ER_NOZIP">ZIP_ER_NOZIP</code></a>]</dt>
- <dd class="It-tag">File is not a zip archive.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_READ"><code class="Er" title="Er" id="ZIP_ER_READ">ZIP_ER_READ</code></a>]</dt>
- <dd class="It-tag">A file read failed.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_RENAME"><code class="Er" title="Er" id="ZIP_ER_RENAME">ZIP_ER_RENAME</code></a>]</dt>
- <dd class="It-tag">A temporary file could not be renamed to its final
- name.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_SEEK"><code class="Er" title="Er" id="ZIP_ER_SEEK">ZIP_ER_SEEK</code></a>]</dt>
- <dd class="It-tag">A file seek failed.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_TMPOPEN"><code class="Er" title="Er" id="ZIP_ER_TMPOPEN">ZIP_ER_TMPOPEN</code></a>]</dt>
- <dd class="It-tag">A temporary file could not be created.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_WRITE"><code class="Er" title="Er" id="ZIP_ER_WRITE">ZIP_ER_WRITE</code></a>]</dt>
- <dd class="It-tag">A file write failed.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_ZLIB"><code class="Er" title="Er" id="ZIP_ER_ZLIB">ZIP_ER_ZLIB</code></a>]</dt>
- <dd class="It-tag">An error occurred while (de)compressing a stream with
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_NOZIP"><code class="Er" title="Er" id="ZIP_ER_NOZIP">ZIP_ER_NOZIP</code></a>]</dt>
+ <dd>File is not a zip archive.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_READ"><code class="Er" title="Er" id="ZIP_ER_READ">ZIP_ER_READ</code></a>]</dt>
+ <dd>A file read failed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_RENAME"><code class="Er" title="Er" id="ZIP_ER_RENAME">ZIP_ER_RENAME</code></a>]</dt>
+ <dd>A temporary file could not be renamed to its final name.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_SEEK"><code class="Er" title="Er" id="ZIP_ER_SEEK">ZIP_ER_SEEK</code></a>]</dt>
+ <dd>A file seek failed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_TMPOPEN"><code class="Er" title="Er" id="ZIP_ER_TMPOPEN">ZIP_ER_TMPOPEN</code></a>]</dt>
+ <dd>A temporary file could not be created.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_WRITE"><code class="Er" title="Er" id="ZIP_ER_WRITE">ZIP_ER_WRITE</code></a>]</dt>
+ <dd>A file write failed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_ZLIB"><code class="Er" title="Er" id="ZIP_ER_ZLIB">ZIP_ER_ZLIB</code></a>]</dt>
+ <dd>An error occurred while (de)compressing a stream with
<a class="Xr" title="Xr" href="zlib.html">zlib(3)</a>.</dd>
</dl>
Additionally, any errors returned by the callback function for added or replaced
files will be passed back.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_discard.html">zip_discard(3)</a>,
@@ -145,9 +138,9 @@
<a class="Xr" title="Xr" href="zip_open.html">zip_open(3)</a>,
<a class="Xr" title="Xr" href="zip_register_progress_callback_with_state.html">zip_register_progress_callback_with_state(3)</a>,
<a class="Xr" title="Xr" href="zip_strerror.html">zip_strerror(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_close</b>() was added in libzip 0.6.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_close</code>() was added in libzip 0.6.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -155,7 +148,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_delete.html b/man/zip_delete.html
index a76ddc3..2836ed7 100644
--- a/man/zip_delete.html
+++ b/man/zip_delete.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_DELETE(3)</title>
</head>
@@ -52,47 +46,48 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_delete</b> —
- <span class="Nd" title="Nd">delete file from zip archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_delete</code> —
+<div class="Nd" title="Nd">delete file from zip archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_delete</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_delete</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
The file at position <var class="Ar" title="Ar">index</var> in the zip archive
<var class="Ar" title="Ar">archive</var> is marked as deleted.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error code in <var class="Ar" title="Ar">archive</var> is set to indicate the
error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_delete</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_delete</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_unchange.html">zip_unchange(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_delete</b>() was added in libzip 0.6. In libzip
- 0.10 the type of <var class="Ar" title="Ar">index</var> was changed from
- <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_delete</code>() was added in libzip 0.6. In
+ libzip 0.10 the type of <var class="Ar" title="Ar">index</var> was changed
+ from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_uint64_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -100,7 +95,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_dir_add.html b/man/zip_dir_add.html
index 645b539..7cfafd7 100644
--- a/man/zip_dir_add.html
+++ b/man/zip_dir_add.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_DIR_ADD(3)</title>
</head>
@@ -52,87 +46,86 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_dir_add</b> —
- <span class="Nd" title="Nd">add directory to zip archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_dir_add</code> —
+<div class="Nd" title="Nd">add directory to zip archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_dir_add</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_dir_add</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *name</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_dir_add</b>() adds a directory to a
- zip archive. The argument <var class="Ar" title="Ar">archive</var> specifies
- the zip archive to which the directory should be added.
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_dir_add</code>() adds a directory
+ to a zip archive. The argument <var class="Ar" title="Ar">archive</var>
+ specifies the zip archive to which the directory should be added.
<var class="Ar" title="Ar">name</var> is the directory's name in the zip
archive. The <var class="Ar" title="Ar">flags</var> argument can be any of:
<dl class="Bl-tag" style="margin-left: 27.00ex;">
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
- <dd class="It-tag">Guess encoding of <var class="Ar" title="Ar">name</var>
- (default).</dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_UTF_8"><code class="Dv" title="Dv" id="ZIP_FL_ENC_UTF_8">ZIP_FL_ENC_UTF_8</code></a></dt>
- <dd class="It-tag">Interpret <var class="Ar" title="Ar">name</var> as
- UTF-8.</dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_CP437"><code class="Dv" title="Dv" id="ZIP_FL_ENC_CP437">ZIP_FL_ENC_CP437</code></a></dt>
- <dd class="It-tag">Interpret <var class="Ar" title="Ar">name</var> as code
- page 437 (CP-437).</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
+ <dd>Guess encoding of <var class="Ar" title="Ar">name</var> (default).</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_UTF_8"><code class="Dv" title="Dv" id="ZIP_FL_ENC_UTF_8">ZIP_FL_ENC_UTF_8</code></a></dt>
+ <dd>Interpret <var class="Ar" title="Ar">name</var> as UTF-8.</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_CP437"><code class="Dv" title="Dv" id="ZIP_FL_ENC_CP437">ZIP_FL_ENC_CP437</code></a></dt>
+ <dd>Interpret <var class="Ar" title="Ar">name</var> as code page 437
+ (CP-437).</dd>
</dl>
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the index of the new entry in the archive is
returned. Otherwise, -1 is returned and the error code in
<var class="Ar" title="Ar">archive</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_dir_add</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_dir_add</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_EXISTS"><code class="Er" title="Er" id="ZIP_ER_EXISTS">ZIP_ER_EXISTS</code></a>]</dt>
- <dd class="It-tag">There is already an entry called
- <var class="Ar" title="Ar">name</var> in the archive.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">archive</var> or
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_EXISTS"><code class="Er" title="Er" id="ZIP_ER_EXISTS">ZIP_ER_EXISTS</code></a>]</dt>
+ <dd>There is already an entry called <var class="Ar" title="Ar">name</var> in
+ the archive.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">archive</var> or
<var class="Ar" title="Ar">name</var> are
<code class="Dv" title="Dv">NULL</code>, or invalid UTF-8 encoded file
names.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_add.html">zip_add(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_dir_add</b>() was added in libzip 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_dir_add</code>() was added in libzip 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
<<a class="Mt" title="Mt" href="mailto:tk@giga.or.at">tk@giga.or.at</a>>
-<h1 class="Sh" title="Sh" id="CAVEATS"><a class="selflink" href="#CAVEATS">CAVEATS</a></h1>
-<b class="Fn" title="Fn">zip_dir_add</b>() does not look in the file system, it
- just creates one entry in the archive for the provided name.</div>
+<h1 class="Sh" title="Sh" id="CAVEATS"><a class="permalink" href="#CAVEATS">CAVEATS</a></h1>
+<code class="Fn" title="Fn">zip_dir_add</code>() does not look in the file
+ system, it just creates one entry in the archive for the provided name.</div>
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_discard.html b/man/zip_discard.html
index 362b7f5..cf530f6 100644
--- a/man/zip_discard.html
+++ b/man/zip_discard.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_DISCARD(3)</title>
</head>
@@ -52,29 +46,30 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_discard</b> —
- <span class="Nd" title="Nd">close zip archive and discard changes</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_discard</code> —
+<div class="Nd" title="Nd">close zip archive and discard changes</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_discard</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_discard</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_discard</b>() function closes
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_discard</code>() function closes
<var class="Ar" title="Ar">archive</var> and frees the memory allocated for
it. Any changes to the archive are not written to disk and discarded.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_discard</b>() was added in libzip 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_discard</code>() was added in libzip 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -82,7 +77,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_clear.html b/man/zip_error_clear.html
index f738b49..a17ac74 100644
--- a/man/zip_error_clear.html
+++ b/man/zip_error_clear.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_CLEAR(3)</title>
</head>
@@ -52,38 +46,40 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_clear</b>,
- <b class="Nm" title="Nm">zip_file_error_clear</b> —
- <span class="Nd" title="Nd">clear error state for archive or file</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_clear</code>,
+ <code class="Nm" title="Nm">zip_file_error_clear</code> —
+<div class="Nd" title="Nd">clear error state for archive or file</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_error_clear</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_error_clear</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>);
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_file_error_clear</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
+<code class="Fn" title="Fn">zip_file_error_clear</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
*file</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_error_clear</b>() function clears the error
- state for the zip archive <var class="Ar" title="Ar">archive</var>.
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_error_clear</code>() function clears the
+ error state for the zip archive <var class="Ar" title="Ar">archive</var>.
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_file_error_clear</b>() function does the same
- for the zip file <var class="Ar" title="Ar">file</var>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+The <code class="Fn" title="Fn">zip_file_error_clear</code>() function does the
+ same for the zip file <var class="Ar" title="Ar">file</var>.
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_get.html">zip_error_get(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_clear</b>() and
- <b class="Fn" title="Fn">zip_file_error_clear</b>() were added in libzip 0.8.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_clear</code>() and
+ <code class="Fn" title="Fn">zip_file_error_clear</code>() were added in libzip
+ 0.8.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -91,7 +87,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_code_system.html b/man/zip_error_code_system.html
index ffb3624..d2d48cb 100644
--- a/man/zip_error_code_system.html
+++ b/man/zip_error_code_system.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_CODE_SYSTEM(3)</title>
</head>
@@ -52,33 +46,34 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_code_system</b> —
- <span class="Nd" title="Nd">get operating system error part of
- zip_error</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_code_system</code> —
+<div class="Nd" title="Nd">get operating system error part of zip_error</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_error_code_system</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
+<code class="Fn" title="Fn">zip_error_code_system</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
zip_error_t *ze</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_error_code_system</b>() function returns the
- system specific part of the error from the zip_error error
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_error_code_system</code>() function returns
+ the system specific part of the error from the zip_error error
<var class="Ar" title="Ar">ze</var>. For finding out what system reported the
error, use
<a class="Xr" title="Xr" href="zip_error_system_type.html">zip_error_system_type(3)</a>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_code_zip.html">zip_error_code_zip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_system_type.html">zip_error_system_type(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_code_system</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_code_system</code>() was added in libzip
+ 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -86,7 +81,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_code_zip.html b/man/zip_error_code_zip.html
index 8c9a986..8de9ae6 100644
--- a/man/zip_error_code_zip.html
+++ b/man/zip_error_code_zip.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_CODE_ZIP(3)</title>
</head>
@@ -52,29 +46,30 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_code_zip</b> —
- <span class="Nd" title="Nd">get libzip error part of zip_error</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_code_zip</code> —
+<div class="Nd" title="Nd">get libzip error part of zip_error</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_error_code_zip</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
+<code class="Fn" title="Fn">zip_error_code_zip</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
zip_error_t *ze</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_error_code_zip</b>() function returns the
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_error_code_zip</code>() function returns the
libzip specific part of the error from the zip_error error
<var class="Ar" title="Ar">ze</var>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_code_system.html">zip_error_code_system(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_code_zip</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_code_zip</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -82,7 +77,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_fini.html b/man/zip_error_fini.html
index 676b450..627421a 100644
--- a/man/zip_error_fini.html
+++ b/man/zip_error_fini.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_FINI(3)</title>
</head>
@@ -52,29 +46,30 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_fini</b> —
- <span class="Nd" title="Nd">clean up zip_error structure</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_fini</code> —
+<div class="Nd" title="Nd">clean up zip_error structure</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_error_fini</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
+<code class="Fn" title="Fn">zip_error_fini</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*ze</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_error_fini</b>() function cleans up and frees
- internally allocated memory of the zip_error pointed to by
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_error_fini</code>() function cleans up and
+ frees internally allocated memory of the zip_error pointed to by
<var class="Ar" title="Ar">ze</var>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_init.html">zip_error_init(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_fini</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_fini</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -82,7 +77,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_get.html b/man/zip_error_get.html
index c7f63d8..c70a8eb 100644
--- a/man/zip_error_get.html
+++ b/man/zip_error_get.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_GET(3)</title>
</head>
@@ -52,39 +46,40 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_get</b>,
- <b class="Nm" title="Nm">zip_file_error_get</b> —
- <span class="Nd" title="Nd">get error codes for archive or file (obsolete
- interface)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_get</code>,
+ <code class="Nm" title="Nm">zip_file_error_get</code> —
+<div class="Nd" title="Nd">get error codes for archive or file (obsolete
+ interface)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_error_get</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_error_get</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
*zep</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
*sep</var>);
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_file_error_get</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
+<code class="Fn" title="Fn">zip_file_error_get</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
*file</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
*zep</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
*sep</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The functions <b class="Fn" title="Fn">zip_error_get</b>() and
- <b class="Fn" title="Fn">zip_file_error_get</b>() are deprecated. Use
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The functions <code class="Fn" title="Fn">zip_error_get</code>() and
+ <code class="Fn" title="Fn">zip_file_error_get</code>() are deprecated. Use
<a class="Xr" title="Xr" href="zip_error_code_system.html">zip_error_code_system(3)</a>,
<a class="Xr" title="Xr" href="zip_error_code_zip.html">zip_error_code_zip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_get_error.html">zip_file_get_error(3)</a>,
and <a class="Xr" title="Xr" href="zip_get_error.html">zip_get_error(3)</a>
instead.
<div class="Pp"></div>
-For <b class="Fn" title="Fn">zip_error_get</b>(), replace
+For <code class="Fn" title="Fn">zip_error_get</code>(), replace
<div class="Pp"></div>
<div class="Bd" style="margin-left: 5.00ex;">
<pre class="Li">
@@ -102,7 +97,7 @@
se = zip_error_code_system(error);
</pre>
</div>
-For <b class="Fn" title="Fn">zip_file_error_get</b>(), replace
+For <code class="Fn" title="Fn">zip_file_error_get</code>(), replace
<div class="Pp"></div>
<div class="Bd" style="margin-left: 5.00ex;">
<pre class="Li">
@@ -120,25 +115,26 @@
se = zip_error_code_system(error);
</pre>
</div>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_code_system.html">zip_error_code_system(3)</a>,
<a class="Xr" title="Xr" href="zip_error_code_zip.html">zip_error_code_zip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_get_error.html">zip_file_get_error(3)</a>,
<a class="Xr" title="Xr" href="zip_get_error.html">zip_get_error(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_get</b>() was added in libzip 0.6. It was
- deprecated in libzip 1.0, use <b class="Fn" title="Fn">zip_get_error</b>(),
- <b class="Fn" title="Fn">zip_error_code_zip</b>(), /
- <b class="Fn" title="Fn">zip_error_code_system</b>() instead.
-<div class="Pp"></div>
-<b class="Fn" title="Fn">zip_file_error_get</b>() was added in libzip 0.6. It
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_get</code>() was added in libzip 0.6. It
was deprecated in libzip 1.0, use
- <b class="Fn" title="Fn">zip_file_get_error</b>(),
- <b class="Fn" title="Fn">zip_error_code_zip</b>(), /
- <b class="Fn" title="Fn">zip_error_code_system</b>() instead.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+ <code class="Fn" title="Fn">zip_get_error</code>(),
+ <code class="Fn" title="Fn">zip_error_code_zip</code>(), /
+ <code class="Fn" title="Fn">zip_error_code_system</code>() instead.
+<div class="Pp"></div>
+<code class="Fn" title="Fn">zip_file_error_get</code>() was added in libzip 0.6.
+ It was deprecated in libzip 1.0, use
+ <code class="Fn" title="Fn">zip_file_get_error</code>(),
+ <code class="Fn" title="Fn">zip_error_code_zip</code>(), /
+ <code class="Fn" title="Fn">zip_error_code_system</code>() instead.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -146,7 +142,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_get_sys_type.html b/man/zip_error_get_sys_type.html
index 3aee6fd..e97fcab 100644
--- a/man/zip_error_get_sys_type.html
+++ b/man/zip_error_get_sys_type.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_GET_SYS_TYPE(3)</title>
</head>
@@ -52,21 +46,22 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_get_sys_type</b> —
- <span class="Nd" title="Nd">get type of system error code (obsolete
- interface)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_get_sys_type</code> —
+<div class="Nd" title="Nd">get type of system error code (obsolete
+ interface)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_error_get_sys_type</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">int
+<code class="Fn" title="Fn">zip_error_get_sys_type</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">int
ze</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_error_get_sys_type</b>() is
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_error_get_sys_type</code>() is
deprecated; use
<a class="Xr" title="Xr" href="zip_error_init_with_code.html">zip_error_init_with_code(3)</a>
and
@@ -89,16 +84,16 @@
int i = zip_error_system_type(&error);
</pre>
</div>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_init_with_code.html">zip_error_init_with_code(3)</a>,
<a class="Xr" title="Xr" href="zip_error_system_type.html">zip_error_system_type(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_get_sys_type</b>() was added in libzip 0.6.
- It was deprecated in libzip 1.0, use
- <b class="Fn" title="Fn">zip_error_system_type</b>() instead.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_get_sys_type</code>() was added in libzip
+ 0.6. It was deprecated in libzip 1.0, use
+ <code class="Fn" title="Fn">zip_error_system_type</code>() instead.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -106,7 +101,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_init.html b/man/zip_error_init.html
index 5c1d4d3..abc047c 100644
--- a/man/zip_error_init.html
+++ b/man/zip_error_init.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_INIT(3)</title>
</head>
@@ -52,45 +46,46 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_init</b>,
- <b class="Nm" title="Nm">zip_error_init_with_code</b> —
- <span class="Nd" title="Nd">initialize zip_error structure</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_init</code>,
+ <code class="Nm" title="Nm">zip_error_init_with_code</code> —
+<div class="Nd" title="Nd">initialize zip_error structure</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_error_init</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
+<code class="Fn" title="Fn">zip_error_init</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_error_init_with_code</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
+<code class="Fn" title="Fn">zip_error_init_with_code</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
ze</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_error_init</b>() function initializes the
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_error_init</code>() function initializes the
zip_error pointed to by <var class="Ar" title="Ar">error</var>.
<var class="Ar" title="Ar">*error</var> must be allocated before calling
- <b class="Fn" title="Fn">zip_error_init</b>().
+ <code class="Fn" title="Fn">zip_error_init</code>().
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_error_init_with_code</b>() function does the
- same, but additionally sets the zip error code to
+The <code class="Fn" title="Fn">zip_error_init_with_code</code>() function does
+ the same, but additionally sets the zip error code to
<var class="Ar" title="Ar">ze</var> and sets the system error code to the
current <a class="Xr" title="Xr" href="errno.html">errno(3)</a> value, if
appropriate.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_fini.html">zip_error_fini(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_init</b>() and
- <b class="Fn" title="Fn">zip_error_init_with_code</b>() were added in libzip
- 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_init</code>() and
+ <code class="Fn" title="Fn">zip_error_init_with_code</code>() were added in
+ libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -98,7 +93,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_set.html b/man/zip_error_set.html
index 9d3e86e..deed849 100644
--- a/man/zip_error_set.html
+++ b/man/zip_error_set.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_SET(3)</title>
</head>
@@ -52,37 +46,38 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_set</b> —
- <span class="Nd" title="Nd">fill in zip_error structure</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_set</code> —
+<div class="Nd" title="Nd">fill in zip_error structure</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_error_set</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
+<code class="Fn" title="Fn">zip_error_set</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*ze</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
le</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
se</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_error_set</b>() function sets the zip_error
- pointed to by <var class="Ar" title="Ar">ze</var> to the libzip error code
- <var class="Ar" title="Ar">le</var> and the system error code
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_error_set</code>() function sets the
+ zip_error pointed to by <var class="Ar" title="Ar">ze</var> to the libzip
+ error code <var class="Ar" title="Ar">le</var> and the system error code
<var class="Ar" title="Ar">se</var>.
<div class="Pp"></div>
<var class="Ar" title="Ar">ze</var> must be allocated and initialized with
<a class="Xr" title="Xr" href="zip_error_fini.html">zip_error_fini(3)</a>
before calling
- <b class="Fn" title="Fn">zip_error</b>(<var class="Fa" title="Fa">set</var>).
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+ <code class="Fn" title="Fn">zip_error</code>(<var class="Fa" title="Fa">set</var>).
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_init.html">zip_error_init(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_set</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_set</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -90,7 +85,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_strerror.html b/man/zip_error_strerror.html
index 4f6b85d..8db05d2 100644
--- a/man/zip_error_strerror.html
+++ b/man/zip_error_strerror.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_STRERROR(3)</title>
</head>
@@ -52,34 +46,35 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_strerror</b> —
- <span class="Nd" title="Nd">create human-readable string for zip_error</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_strerror</code> —
+<div class="Nd" title="Nd">create human-readable string for zip_error</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">const char *</var>
<br/>
-<b class="Fn" title="Fn">zip_error_strerror</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
+<code class="Fn" title="Fn">zip_error_strerror</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*ze</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_error_strerror</b>() function returns an error
- message string corresponding to <var class="Ar" title="Ar">ze</var> like
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_error_strerror</code>() function returns an
+ error message string corresponding to <var class="Ar" title="Ar">ze</var> like
<a class="Xr" title="Xr" href="strerror.html">strerror(3)</a>. This string
will stay valid until the next call to
- <b class="Fn" title="Fn">zip_error_strerror</b>() or until
+ <code class="Fn" title="Fn">zip_error_strerror</code>() or until
<a class="Xr" title="Xr" href="zip_error_fini.html">zip_error_fini(3)</a> is
called.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="strerror.html">strerror(3)</a>,
<a class="Xr" title="Xr" href="zip_error_fini.html">zip_error_fini(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_strerror</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_strerror</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -87,7 +82,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_system_type.html b/man/zip_error_system_type.html
index 9c2f90e..ddbdab6 100644
--- a/man/zip_error_system_type.html
+++ b/man/zip_error_system_type.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_SYSTEM_TYPE(3)</title>
</head>
@@ -52,47 +46,49 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_system_type</b> —
- <span class="Nd" title="Nd">return type of system error</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_system_type</code> —
+<div class="Nd" title="Nd">return type of system error</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_error_system_type</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
+<code class="Fn" title="Fn">zip_error_system_type</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
zip_error_t *ze</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_error_system_type</b>() function returns the
- type of the system specific part for the zip_error
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_error_system_type</code>() function returns
+ the type of the system specific part for the zip_error
<var class="Ar" title="Ar">ze</var>. Currently, the following system types are
defined:
<dl class="Bl-tag" style="margin-left: 16.20ex;">
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#ZIP_ET_NONE"><code class="Dv" title="Dv" id="ZIP_ET_NONE">ZIP_ET_NONE</code></a></dt>
- <dd class="It-tag">System specific part of <var class="Ar" title="Ar">ze</var>
- is unused.</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#ZIP_ET_SYS"><code class="Dv" title="Dv" id="ZIP_ET_SYS">ZIP_ET_SYS</code></a></dt>
- <dd class="It-tag">System specific part of <var class="Ar" title="Ar">ze</var>
- is an <a class="Xr" title="Xr" href="errno.html">errno(2)</a>.</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#ZIP_ET_ZLIB"><code class="Dv" title="Dv" id="ZIP_ET_ZLIB">ZIP_ET_ZLIB</code></a></dt>
- <dd class="It-tag">System specific part of <var class="Ar" title="Ar">ze</var>
- is a <a class="Xr" title="Xr" href="zlib.html">zlib(3)</a> error.</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#ZIP_ET_NONE"><code class="Dv" title="Dv" id="ZIP_ET_NONE">ZIP_ET_NONE</code></a></dt>
+ <dd>System specific part of <var class="Ar" title="Ar">ze</var> is
+ unused.</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#ZIP_ET_SYS"><code class="Dv" title="Dv" id="ZIP_ET_SYS">ZIP_ET_SYS</code></a></dt>
+ <dd>System specific part of <var class="Ar" title="Ar">ze</var> is an
+ <a class="Xr" title="Xr" href="errno.html">errno(2)</a>.</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#ZIP_ET_ZLIB"><code class="Dv" title="Dv" id="ZIP_ET_ZLIB">ZIP_ET_ZLIB</code></a></dt>
+ <dd>System specific part of <var class="Ar" title="Ar">ze</var> is a
+ <a class="Xr" title="Xr" href="zlib.html">zlib(3)</a> error.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_code_system.html">zip_error_code_system(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_system_type</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_system_type</code>() was added in libzip
+ 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -100,7 +96,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_to_data.html b/man/zip_error_to_data.html
index 5d905be..cc10035 100644
--- a/man/zip_error_to_data.html
+++ b/man/zip_error_to_data.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_TO_DATA(3)</title>
</head>
@@ -52,40 +46,41 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_to_data</b> —
- <span class="Nd" title="Nd">convert zip_error to return value suitable for
- ZIP_SOURCE_ERROR</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_to_data</code> —
+<div class="Nd" title="Nd">convert zip_error to return value suitable for
+ ZIP_SOURCE_ERROR</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_error_to_data</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
+<code class="Fn" title="Fn">zip_error_to_data</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
zip_error_t *ze</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">void *data</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
len</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<b class="Fn" title="Fn">zip_error_to_data</b>() function converts the zip_error
- <var class="Ar" title="Ar">ze</var> into data suitable as return value for
- <code class="Dv" title="Dv">ZIP_SOURCE_ERROR</code>. The data is written into
- the buffer <var class="Ar" title="Ar">data</var> of size
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<code class="Fn" title="Fn">zip_error_to_data</code>() function converts the
+ zip_error <var class="Ar" title="Ar">ze</var> into data suitable as return
+ value for <code class="Dv" title="Dv">ZIP_SOURCE_ERROR</code>. The data is
+ written into the buffer <var class="Ar" title="Ar">data</var> of size
<var class="Ar" title="Ar">len</var>. If the buffer is not large enough to
hold 2 ints, an error is returned.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-<b class="Fn" title="Fn">zip_error_to_data</b>() returns 2*(sizeof int) on
+<code class="Fn" title="Fn">zip_error_to_data</code>() returns 2*(sizeof int) on
success, and -1 on error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source_function.html">zip_source_function(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_to_data</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_to_data</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -93,7 +88,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_error_to_str.html b/man/zip_error_to_str.html
index 4f0cac5..680b8ff 100644
--- a/man/zip_error_to_str.html
+++ b/man/zip_error_to_str.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERROR_TO_STR(3)</title>
</head>
@@ -52,25 +46,27 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_error_to_str</b> —
- <span class="Nd" title="Nd">get string representation of zip error (obsolete
- interface)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_error_to_str</code> —
+<div class="Nd" title="Nd">get string representation of zip error (obsolete
+ interface)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_error_to_str</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">char
+<code class="Fn" title="Fn">zip_error_to_str</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">char
*buf</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
len</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
ze</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
se</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_error_to_str</b>() is deprecated; use
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_error_to_str</code>() is
+ deprecated; use
<a class="Xr" title="Xr" href="zip_error_init_with_code.html">zip_error_init_with_code(3)</a>
and
<a class="Xr" title="Xr" href="zip_error_strerror.html">zip_error_strerror(3)</a>
@@ -95,19 +91,19 @@
zip_error_fini(&error);
</pre>
</div>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_init_with_code.html">zip_error_init_with_code(3)</a>,
<a class="Xr" title="Xr" href="zip_error_strerror.html">zip_error_strerror(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_error_to_str</b>() was added in libzip 0.6. In
- libzip 0.10 the type of <var class="Ar" title="Ar">len</var> was changed from
- <var class="Vt" title="Vt">size_t</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_error_to_str</code>() was added in libzip 0.6.
+ In libzip 0.10 the type of <var class="Ar" title="Ar">len</var> was changed
+ from <var class="Vt" title="Vt">size_t</var> to
<var class="Vt" title="Vt">zip_uint64_t</var>. It was deprecated in libzip
- 1.0, use <b class="Fn" title="Fn">zip_error_init_with_code</b>() and
- <b class="Fn" title="Fn">zip_error_strerror</b>() instead.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+ 1.0, use <code class="Fn" title="Fn">zip_error_init_with_code</code>() and
+ <code class="Fn" title="Fn">zip_error_strerror</code>() instead.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -115,7 +111,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_errors.html b/man/zip_errors.html
index b863c7b..bb96806 100644
--- a/man/zip_errors.html
+++ b/man/zip_errors.html
@@ -37,12 +37,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_ERRORS(3)</title>
</head>
@@ -55,146 +49,147 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_errors</b> —
- <span class="Nd" title="Nd">list of all libzip error codes</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_errors</code> —
+<div class="Nd" title="Nd">list of all libzip error codes</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
The following error codes are used by libzip:
<dl class="Bl-tag" style="margin-left: 31.80ex;">
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_CHANGED</code>]</dt>
- <dd class="It-tag">Entry has been changed.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_CLOSE</code>]</dt>
- <dd class="It-tag">Closing zip archive failed.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_COMPNOTSUPP</code>]</dt>
- <dd class="It-tag">Compression method not supported.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_COMPRESSED_DATA</code>]</dt>
- <dd class="It-tag">Compressed data invalid.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_CRC</code>]</dt>
- <dd class="It-tag">CRC error.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_DELETED</code>]</dt>
- <dd class="It-tag">Entry has been deleted.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_ENCRNOTSUPP</code>]</dt>
- <dd class="It-tag">Encryption method not supported.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_EOF</code>]</dt>
- <dd class="It-tag">Premature end of file.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_EXISTS</code>]</dt>
- <dd class="It-tag">File already exists.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_INCONS</code>]</dt>
- <dd class="It-tag">Zip archive inconsistent.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_INTERNAL</code>]</dt>
- <dd class="It-tag">Internal error.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_INUSE</code>]</dt>
- <dd class="It-tag">Resource still in use.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_INVAL</code>]</dt>
- <dd class="It-tag">Invalid argument.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_MEMORY</code>]</dt>
- <dd class="It-tag">Malloc failure.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_MULTIDISK</code>]</dt>
- <dd class="It-tag">Multi-disk zip archives not supported.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_NOENT</code>]</dt>
- <dd class="It-tag">No such file.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_NOPASSWD</code>]</dt>
- <dd class="It-tag">No password provided.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_NOZIP</code>]</dt>
- <dd class="It-tag">Not a zip archive.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_OK</code>]</dt>
- <dd class="It-tag">No error.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_OPEN</code>]</dt>
- <dd class="It-tag">Can't open file.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_OPNOTSUPP</code>]</dt>
- <dd class="It-tag">Operation not supported.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_RDONLY</code>]</dt>
- <dd class="It-tag">Read-only archive.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_READ</code>]</dt>
- <dd class="It-tag">Read error.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_REMOVE</code>]</dt>
- <dd class="It-tag">Can't remove file.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_RENAME</code>]</dt>
- <dd class="It-tag">Renaming temporary file failed.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_SEEK</code>]</dt>
- <dd class="It-tag">Seek error.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_TELL</code>]</dt>
- <dd class="It-tag">Tell error.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_TMPOPEN</code>]</dt>
- <dd class="It-tag">Failure to create temporary file.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_WRITE</code>]</dt>
- <dd class="It-tag">Write error.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_WRONGPASSWD</code>]</dt>
- <dd class="It-tag">Wrong password provided.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_ZIPCLOSED</code>]</dt>
- <dd class="It-tag">Containing zip archive was closed.</dd>
- <dt class="It-tag" style="margin-left: -31.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_ZLIB</code>]</dt>
- <dd class="It-tag">Zlib error.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_CHANGED</code>]</dt>
+ <dd>Entry has been changed.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_CLOSE</code>]</dt>
+ <dd>Closing zip archive failed.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_COMPNOTSUPP</code>]</dt>
+ <dd>Compression method not supported.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_COMPRESSED_DATA</code>]</dt>
+ <dd>Compressed data invalid.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_CRC</code>]</dt>
+ <dd>CRC error.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_DELETED</code>]</dt>
+ <dd>Entry has been deleted.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_ENCRNOTSUPP</code>]</dt>
+ <dd>Encryption method not supported.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_EOF</code>]</dt>
+ <dd>Premature end of file.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_EXISTS</code>]</dt>
+ <dd>File already exists.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_INCONS</code>]</dt>
+ <dd>Zip archive inconsistent.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_INTERNAL</code>]</dt>
+ <dd>Internal error.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_INUSE</code>]</dt>
+ <dd>Resource still in use.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_INVAL</code>]</dt>
+ <dd>Invalid argument.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_MEMORY</code>]</dt>
+ <dd>Malloc failure.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_MULTIDISK</code>]</dt>
+ <dd>Multi-disk zip archives not supported.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_NOENT</code>]</dt>
+ <dd>No such file.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_NOPASSWD</code>]</dt>
+ <dd>No password provided.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_NOZIP</code>]</dt>
+ <dd>Not a zip archive.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_OK</code>]</dt>
+ <dd>No error.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_OPEN</code>]</dt>
+ <dd>Can't open file.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_OPNOTSUPP</code>]</dt>
+ <dd>Operation not supported.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_RDONLY</code>]</dt>
+ <dd>Read-only archive.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_READ</code>]</dt>
+ <dd>Read error.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_REMOVE</code>]</dt>
+ <dd>Can't remove file.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_RENAME</code>]</dt>
+ <dd>Renaming temporary file failed.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_SEEK</code>]</dt>
+ <dd>Seek error.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_TELL</code>]</dt>
+ <dd>Tell error.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_TMPOPEN</code>]</dt>
+ <dd>Failure to create temporary file.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_WRITE</code>]</dt>
+ <dd>Write error.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_WRONGPASSWD</code>]</dt>
+ <dd>Wrong password provided.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_ZIPCLOSED</code>]</dt>
+ <dd>Containing zip archive was closed.</dd>
+ <dt style="margin-left: -31.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -31.80ex;">[<code class="Er" title="Er">ZIP_ER_ZLIB</code>]</dt>
+ <dd>Zlib error.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -202,7 +197,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_fclose.html b/man/zip_fclose.html
index a4b5b97..db039d4 100644
--- a/man/zip_fclose.html
+++ b/man/zip_fclose.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FCLOSE(3)</title>
</head>
@@ -52,33 +46,34 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_fclose</b> —
- <span class="Nd" title="Nd">close file in zip archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_fclose</code> —
+<div class="Nd" title="Nd">close file in zip archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_fclose</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
+<code class="Fn" title="Fn">zip_fclose</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
*file</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_fclose</b>() function closes
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_fclose</code>() function closes
<var class="Ar" title="Ar">file</var> and frees the memory allocated for it.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, the error code is returned.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a>,
<a class="Xr" title="Xr" href="zip_fread.html">zip_fread(3)</a>,
<a class="Xr" title="Xr" href="zip_fseek.html">zip_fseek(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_fclose</b>() was added in libzip 0.6.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_fclose</code>() was added in libzip 0.6.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -86,7 +81,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_fdopen.html b/man/zip_fdopen.html
index 640a564..de39960 100644
--- a/man/zip_fdopen.html
+++ b/man/zip_fdopen.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FDOPEN(3)</title>
</head>
@@ -52,108 +46,108 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_fdopen</b> —
- <span class="Nd" title="Nd">open zip archive using open file descriptor</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_fdopen</code> —
+<div class="Nd" title="Nd">open zip archive using open file descriptor</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_fdopen</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">int
+<code class="Fn" title="Fn">zip_fdopen</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">int
fd</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
flags</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
*errorp</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
The zip archive specified by the open file descriptor
<var class="Ar" title="Ar">fd</var> is opened and a pointer to a
<var class="Ft" title="Ft">struct zip</var>, used to manipulate the archive,
is returned. In contrast to
<a class="Xr" title="Xr" href="zip_open.html">zip_open(3)</a>, using
- <b class="Nm" title="Nm">zip_fdopen</b> the archive can only be opened in
- read-only mode. The <var class="Ar" title="Ar">fd</var> argument may not be
- used any longer after calling <b class="Nm" title="Nm">zip_fdopen</b>. The
- <var class="Fa" title="Fa">flags</var> are specified by
+ <code class="Nm" title="Nm">zip_fdopen</code> the archive can only be opened
+ in read-only mode. The <var class="Ar" title="Ar">fd</var> argument may not be
+ used any longer after calling <code class="Nm" title="Nm">zip_fdopen</code>.
+ The <var class="Fa" title="Fa">flags</var> are specified by
<i class="Em" title="Em">or</i><span class="No">'ing</span> the following
values, or 0 for none of them.
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 18.60ex;">
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_CHECKCONS"><code class="Dv" title="Dv" id="ZIP_CHECKCONS">ZIP_CHECKCONS</code></a></dt>
- <dd class="It-tag">Perform additional stricter consistency checks on the
- archive, and error if they fail.</dd>
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_CHECKCONS"><code class="Dv" title="Dv" id="ZIP_CHECKCONS">ZIP_CHECKCONS</code></a></dt>
+ <dd>Perform additional stricter consistency checks on the archive, and error
+ if they fail.</dd>
</dl>
</div>
<div class="Pp"></div>
If an error occurs and <var class="Ar" title="Ar">errorp</var> is
<span class="No">non-</span><code class="Dv" title="Dv">NULL</code>, it will
be set to the corresponding error code.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-Upon successful completion <b class="Fn" title="Fn">zip_fdopen</b>() returns a
- <var class="Ft" title="Ft">struct zip</var> pointer, and
+Upon successful completion <code class="Fn" title="Fn">zip_fdopen</code>()
+ returns a <var class="Ft" title="Ft">struct zip</var> pointer, and
<var class="Ar" title="Ar">fd</var> should not be used any longer, nor passed
to <a class="Xr" title="Xr" href="close.html">close(2)</a>. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and
<var class="Ar" title="Ar">*errorp</var> is set to indicate the error. In the
error case, <var class="Ar" title="Ar">fd</var> remains unchanged.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
The file specified by <var class="Ar" title="Ar">fd</var> is prepared for use by
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a> unless:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INCONS"><code class="Er" title="Er" id="ZIP_ER_INCONS">ZIP_ER_INCONS</code></a>]</dt>
- <dd class="It-tag">Inconsistencies were found in the file specified by
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INCONS"><code class="Er" title="Er" id="ZIP_ER_INCONS">ZIP_ER_INCONS</code></a>]</dt>
+ <dd>Inconsistencies were found in the file specified by
<var class="Ar" title="Ar">path</var>. This error is often caused by
specifying <code class="Dv" title="Dv">ZIP_CHECKCONS</code> but can also
happen without it.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag">The <var class="Ar" title="Ar">flags</var> argument is
- invalid. Not all
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd>The <var class="Ar" title="Ar">flags</var> argument is invalid. Not all
<a class="Xr" title="Xr" href="zip_open.html">zip_open(3)</a> flags are
- allowed for <b class="Nm" title="Nm">zip_fdopen</b>, see
+ allowed for <code class="Nm" title="Nm">zip_fdopen</code>, see
<a class="Sx" title="Sx" href="#DESCRIPTION">DESCRIPTION</a>.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_NOZIP"><code class="Er" title="Er" id="ZIP_ER_NOZIP">ZIP_ER_NOZIP</code></a>]</dt>
- <dd class="It-tag">The file specified by <var class="Ar" title="Ar">fd</var>
- is not a zip archive.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
- <dd class="It-tag">The file specified by <var class="Ar" title="Ar">fd</var>
- could not be prepared for use by
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_NOZIP"><code class="Er" title="Er" id="ZIP_ER_NOZIP">ZIP_ER_NOZIP</code></a>]</dt>
+ <dd>The file specified by <var class="Ar" title="Ar">fd</var> is not a zip
+ archive.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
+ <dd>The file specified by <var class="Ar" title="Ar">fd</var> could not be
+ prepared for use by
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_READ"><code class="Er" title="Er" id="ZIP_ER_READ">ZIP_ER_READ</code></a>]</dt>
- <dd class="It-tag">A read error occurred; see
- <var class="Va" title="Va">errno</var> for details.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_SEEK"><code class="Er" title="Er" id="ZIP_ER_SEEK">ZIP_ER_SEEK</code></a>]</dt>
- <dd class="It-tag">The file specified by <var class="Ar" title="Ar">fd</var>
- does not allow seeks.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_READ"><code class="Er" title="Er" id="ZIP_ER_READ">ZIP_ER_READ</code></a>]</dt>
+ <dd>A read error occurred; see <var class="Va" title="Va">errno</var> for
+ details.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_SEEK"><code class="Er" title="Er" id="ZIP_ER_SEEK">ZIP_ER_SEEK</code></a>]</dt>
+ <dd>The file specified by <var class="Ar" title="Ar">fd</var> does not allow
+ seeks.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a>,
<a class="Xr" title="Xr" href="zip_error_to_str.html">zip_error_to_str(3)</a>,
<a class="Xr" title="Xr" href="zip_open.html">zip_open(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_fdopen</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_fdopen</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -161,7 +155,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_add.html b/man/zip_file_add.html
index 79ffd5a..17d7dbe 100644
--- a/man/zip_file_add.html
+++ b/man/zip_file_add.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_ADD(3)</title>
</head>
@@ -52,19 +46,20 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_add</b>,
- <b class="Nm" title="Nm">zip_file_replace</b> —
- <span class="Nd" title="Nd">add file to zip archive or replace file in zip
- archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_add</code>,
+ <code class="Nm" title="Nm">zip_file_replace</code> —
+<div class="Nd" title="Nd">add file to zip archive or replace file in zip
+ archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_file_add</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_add</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *name</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
@@ -74,7 +69,7 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_file_replace</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_replace</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -82,39 +77,38 @@
*source</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_file_add</b>() adds a file to a zip
- archive, while <b class="Fn" title="Fn">zip_file_replace</b>() replaces an
- existing file in a zip archive. The argument
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_file_add</code>() adds a file to a
+ zip archive, while <code class="Fn" title="Fn">zip_file_replace</code>()
+ replaces an existing file in a zip archive. The argument
<var class="Ar" title="Ar">archive</var> specifies the zip archive to which
the file should be added. <var class="Ar" title="Ar">name</var> is the file's
- name in the zip archive (for <b class="Fn" title="Fn">zip_file_add</b>()),
- while <var class="Ar" title="Ar">index</var> specifies which file should be
- replaced (for <b class="Fn" title="Fn">zip_file_replace</b>()). The
+ name in the zip archive (for
+ <code class="Fn" title="Fn">zip_file_add</code>()), while
+ <var class="Ar" title="Ar">index</var> specifies which file should be replaced
+ (for <code class="Fn" title="Fn">zip_file_replace</code>()). The
<var class="Ar" title="Ar">flags</var> argument can be any combination of
<code class="Dv" title="Dv">ZIP_FL_OVERWRITE</code> with one of
<code class="Dv" title="Dv">ZIP_FL_ENC_*</code>:
<dl class="Bl-tag" style="margin-left: 27.00ex;">
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_OVERWRITE"><code class="Dv" title="Dv" id="ZIP_FL_OVERWRITE">ZIP_FL_OVERWRITE</code></a></dt>
- <dd class="It-tag">Overwrite any existing file of the same name. For
- <b class="Nm" title="Nm">zip_file_add</b> only.</dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
- <dd class="It-tag">Guess encoding of <var class="Ar" title="Ar">name</var>
- (default).</dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_UTF_8"><code class="Dv" title="Dv" id="ZIP_FL_ENC_UTF_8">ZIP_FL_ENC_UTF_8</code></a></dt>
- <dd class="It-tag">Interpret <var class="Ar" title="Ar">name</var> as
- UTF-8.</dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_CP437"><code class="Dv" title="Dv" id="ZIP_FL_ENC_CP437">ZIP_FL_ENC_CP437</code></a></dt>
- <dd class="It-tag">Interpret <var class="Ar" title="Ar">name</var> as code
- page 437 (CP-437).</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_OVERWRITE"><code class="Dv" title="Dv" id="ZIP_FL_OVERWRITE">ZIP_FL_OVERWRITE</code></a></dt>
+ <dd>Overwrite any existing file of the same name. For
+ <code class="Nm" title="Nm">zip_file_add</code> only.</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
+ <dd>Guess encoding of <var class="Ar" title="Ar">name</var> (default).</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_UTF_8"><code class="Dv" title="Dv" id="ZIP_FL_ENC_UTF_8">ZIP_FL_ENC_UTF_8</code></a></dt>
+ <dd>Interpret <var class="Ar" title="Ar">name</var> as UTF-8.</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_CP437"><code class="Dv" title="Dv" id="ZIP_FL_ENC_CP437">ZIP_FL_ENC_CP437</code></a></dt>
+ <dd>Interpret <var class="Ar" title="Ar">name</var> as code page 437
+ (CP-437).</dd>
</dl>
The data is obtained from the <var class="Ar" title="Ar">source</var> argument,
see <a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>.
@@ -122,63 +116,64 @@
<i class="Em" title="Em">NOTE</i>:
<a class="Xr" title="Xr" href="zip_source_free.html">zip_source_free(3)</a>
should not be called on a <var class="Ar" title="Ar">source</var> after it was
- used successfully in a <b class="Nm" title="Nm">zip_file_add</b> or
- <b class="Nm" title="Nm">zip_file_replace</b> call.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+ used successfully in a <code class="Nm" title="Nm">zip_file_add</code> or
+ <code class="Nm" title="Nm">zip_file_replace</code> call.
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-Upon successful completion, <b class="Fn" title="Fn">zip_file_add</b>() returns
- the index of the new file in the archive, and
- <b class="Fn" title="Fn">zip_file_replace</b>() returns 0. Otherwise, -1 is
- returned and the error code in <var class="Ar" title="Ar">archive</var> is set
- to indicate the error.
-<h1 class="Sh" title="Sh" id="EXAMPLES"><a class="selflink" href="#EXAMPLES">EXAMPLES</a></h1>
+Upon successful completion, <code class="Fn" title="Fn">zip_file_add</code>()
+ returns the index of the new file in the archive, and
+ <code class="Fn" title="Fn">zip_file_replace</code>() returns 0. Otherwise, -1
+ is returned and the error code in <var class="Ar" title="Ar">archive</var> is
+ set to indicate the error.
+<h1 class="Sh" title="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
<div class="Bd" style="margin-left: 5.00ex;">
<pre class="Li">
zip_source_t *s;
-const char buf="teststring";
+const char *buf="teststring";
-if ((s=zip_source_buffer(archive, buffer, sizeof(buf), 0)) == NULL ||
+if ((s=zip_source_buffer(archive, buf, sizeof(buf), 0)) == NULL ||
zip_file_add(archive, name, s, ZIP_FL_ENC_UTF_8) < 0) {
zip_source_free(s);
printf("error adding file: %s\n", zip_strerror(archive));
}
</pre>
</div>
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_add</b>() and
- <b class="Fn" title="Fn">zip_file_replace</b>() fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_add</code>() and
+ <code class="Fn" title="Fn">zip_file_replace</code>() fail if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_EXISTS"><code class="Er" title="Er" id="ZIP_ER_EXISTS">ZIP_ER_EXISTS</code></a>]</dt>
- <dd class="It-tag">There is already a file called
- <var class="Ar" title="Ar">name</var> in the archive. (Only applies to
- <b class="Fn" title="Fn">zip_file_add</b>(), and only if
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_EXISTS"><code class="Er" title="Er" id="ZIP_ER_EXISTS">ZIP_ER_EXISTS</code></a>]</dt>
+ <dd>There is already a file called <var class="Ar" title="Ar">name</var> in
+ the archive. (Only applies to
+ <code class="Fn" title="Fn">zip_file_add</code>(), and only if
<code class="Dv" title="Dv">ZIP_FL_OVERWRITE</code> is not provided).</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">source</var> or
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">source</var> or
<var class="Ar" title="Ar">name</var> are
<code class="Dv" title="Dv">NULL</code>, or
<var class="Ar" title="Ar">index</var> is invalid.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
- <dd class="It-tag">Archive was opened in read-only mode.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
+ <dd>Archive was opened in read-only mode.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_add</b>() and
- <b class="Fn" title="Fn">zip_file_replace</b>() were added in libzip 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_add</code>() and
+ <code class="Fn" title="Fn">zip_file_replace</code>() were added in libzip
+ 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -186,7 +181,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_add.man b/man/zip_file_add.man
index 05153c7..8d0672f 100644
--- a/man/zip_file_add.man
+++ b/man/zip_file_add.man
@@ -128,9 +128,9 @@
.nf
.RS 6n
zip_source_t *s;
-const char buf="teststring";
+const char *buf="teststring";
-if ((s=zip_source_buffer(archive, buffer, sizeof(buf), 0)) == NULL ||
+if ((s=zip_source_buffer(archive, buf, sizeof(buf), 0)) == NULL ||
zip_file_add(archive, name, s, ZIP_FL_ENC_UTF_8) < 0) {
zip_source_free(s);
printf("error adding file: %s\en", zip_strerror(archive));
diff --git a/man/zip_file_extra_field_delete.html b/man/zip_file_extra_field_delete.html
index 1db1ed6..3fa6675 100644
--- a/man/zip_file_extra_field_delete.html
+++ b/man/zip_file_extra_field_delete.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_EXTRA_FIELD_DELETE(3)</title>
</head>
@@ -52,18 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_extra_field_delete</b>,
- <b class="Nm" title="Nm">zip_file_extra_field_delete_by_id</b> —
- <span class="Nd" title="Nd">delete extra field for file in zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_extra_field_delete</code>,
+ <code class="Nm" title="Nm">zip_file_extra_field_delete_by_id</code> —
+<div class="Nd" title="Nd">delete extra field for file in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_file_extra_field_delete</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_extra_field_delete</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -74,7 +69,7 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_file_extra_field_delete_by_id</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_extra_field_delete_by_id</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -84,11 +79,11 @@
extra_field_index</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_file_extra_field_delete</b>() function deletes
- the extra field with index <var class="Ar" title="Ar">extra_field_index</var>
- for the file at position <var class="Ar" title="Ar">index</var> in the zip
- archive.
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_file_extra_field_delete</code>() function
+ deletes the extra field with index
+ <var class="Ar" title="Ar">extra_field_index</var> for the file at position
+ <var class="Ar" title="Ar">index</var> in the zip archive.
<div class="Pp"></div>
If <var class="Ar" title="Ar">extra_field_index</var> is
<code class="Dv" title="Dv">ZIP_EXTRA_FIELD_ALL</code>, then all extra fields
@@ -97,26 +92,25 @@
The following <var class="Ar" title="Ar">flags</var> are supported:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 22.20ex;">
- <dt class="It-tag" style="margin-left: -22.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"><a class="selflink" href="#ZIP_FL_CENTRAL"><code class="Dv" title="Dv" id="ZIP_FL_CENTRAL">ZIP_FL_CENTRAL</code></a></dt>
- <dd class="It-tag">Delete extra fields from the archive's central
- directory.</dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"><a class="selflink" href="#ZIP_FL_LOCAL"><code class="Dv" title="Dv" id="ZIP_FL_LOCAL">ZIP_FL_LOCAL</code></a></dt>
- <dd class="It-tag">Delete extra fields from the local file headers.</dd>
+ <dt style="margin-left: -22.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -22.20ex;"><a class="permalink" href="#ZIP_FL_CENTRAL"><code class="Dv" title="Dv" id="ZIP_FL_CENTRAL">ZIP_FL_CENTRAL</code></a></dt>
+ <dd>Delete extra fields from the archive's central directory.</dd>
+ <dt style="margin-left: -22.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -22.20ex;"><a class="permalink" href="#ZIP_FL_LOCAL"><code class="Dv" title="Dv" id="ZIP_FL_LOCAL">ZIP_FL_LOCAL</code></a></dt>
+ <dd>Delete extra fields from the local file headers.</dd>
</dl>
</div>
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_file_extra_field_delete_by_id</b>() function
- deletes the extra field with ID (two-byte signature)
+The <code class="Fn" title="Fn">zip_file_extra_field_delete_by_id</code>()
+ function deletes the extra field with ID (two-byte signature)
<var class="Ar" title="Ar">extra_field_id</var> and index
<var class="Ar" title="Ar">extra_field_index</var> (in other words, the
<var class="Ar" title="Ar">extra_field_index</var><span class="No">'th</span>
extra field with ID <var class="Ar" title="Ar">extra_field_id</var>) The other
arguments are the same as for
- <b class="Fn" title="Fn">zip_file_extra_field_delete</b>()
+ <code class="Fn" title="Fn">zip_file_extra_field_delete</code>()
(<code class="Dv" title="Dv">ZIP_EXTRA_FIELD_ALL</code> will delete all extra
fields of the specified ID).
<div class="Pp"></div>
@@ -128,32 +122,33 @@
<var class="Ar" title="Ar">flags</var>, except when deleting all extra fields
(i.e., <var class="Ar" title="Ar">extra_field_index</var> being
<code class="Dv" title="Dv">ZIP_EXTRA_FIELD_ALL</code>).
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error code in <var class="Ar" title="Ar">archive</var> is set to indicate the
error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_extra_field_delete</b>() and
- <b class="Fn" title="Fn">zip_file_extra_field_delete_by_id</b>() fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_extra_field_delete</code>() and
+ <code class="Fn" title="Fn">zip_file_extra_field_delete_by_id</code>() fail
+ if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_field_get.html">zip_file_extra_field_get(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_field_set.html">zip_file_extra_field_set(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_fields_count.html">zip_file_extra_fields_count(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_extra_field_delete</b>() and
- <b class="Fn" title="Fn">zip_file_extra_field_delete_by_id</b>() were added in
- libzip 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_extra_field_delete</code>() and
+ <code class="Fn" title="Fn">zip_file_extra_field_delete_by_id</code>() were
+ added in libzip 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -161,7 +156,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_extra_field_get.html b/man/zip_file_extra_field_get.html
index b8a8c20..b1c6246 100644
--- a/man/zip_file_extra_field_get.html
+++ b/man/zip_file_extra_field_get.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_EXTRA_FIELD_GET(3)</title>
</head>
@@ -52,18 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_extra_field_get</b>,
- <b class="Nm" title="Nm">zip_file_extra_field_get_by_id</b> —
- <span class="Nd" title="Nd">get extra field for file in zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_extra_field_get</code>,
+ <code class="Nm" title="Nm">zip_file_extra_field_get_by_id</code> —
+<div class="Nd" title="Nd">get extra field for file in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">const zip_uint8_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_file_extra_field_get</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_extra_field_get</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -78,7 +73,7 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">const zip_uint8_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_file_extra_field_get_by_id</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_extra_field_get_by_id</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -90,14 +85,14 @@
*lenp</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_file_extra_field_get</b>() function returns the
- extra field with index <var class="Ar" title="Ar">extra_field_index</var> for
- the file at position <var class="Ar" title="Ar">index</var> in the zip
- archive. This pointer should not be modified or
- <a class="Xr" title="Xr" href="free.html">free(3)</a>'d, and becomes invalid
- when <var class="Ar" title="Ar">archive</var> is closed. If
- <var class="Ar" title="Ar">idp</var> is not
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_file_extra_field_get</code>() function
+ returns the extra field with index
+ <var class="Ar" title="Ar">extra_field_index</var> for the file at position
+ <var class="Ar" title="Ar">index</var> in the zip archive. This pointer should
+ not be modified or <a class="Xr" title="Xr" href="free.html">free(3)</a>'d,
+ and becomes invalid when <var class="Ar" title="Ar">archive</var> is closed.
+ If <var class="Ar" title="Ar">idp</var> is not
<code class="Dv" title="Dv">NULL</code>, the integer to which it points will
be set to the ID (two-byte signature) of the selected extra field. If
<var class="Ar" title="Ar">lenp</var> is not
@@ -111,32 +106,31 @@
The following <var class="Ar" title="Ar">flags</var> are supported:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 24.60ex;">
- <dt class="It-tag" style="margin-left: -24.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -24.60ex;"><a class="selflink" href="#ZIP_FL_CENTRAL"><code class="Dv" title="Dv" id="ZIP_FL_CENTRAL">ZIP_FL_CENTRAL</code></a></dt>
- <dd class="It-tag">Return extra fields from the archive's central
- directory.</dd>
- <dt class="It-tag" style="margin-left: -24.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -24.60ex;"><a class="selflink" href="#ZIP_FL_LOCAL"><code class="Dv" title="Dv" id="ZIP_FL_LOCAL">ZIP_FL_LOCAL</code></a></dt>
- <dd class="It-tag">Return extra fields from the local file headers.</dd>
- <dt class="It-tag" style="margin-left: -24.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -24.60ex;"><a class="selflink" href="#ZIP_FL_UNCHANGED"><code class="Dv" title="Dv" id="ZIP_FL_UNCHANGED">ZIP_FL_UNCHANGED</code></a></dt>
- <dd class="It-tag">Return the original unchanged extra fields, ignoring any
- changes made.</dd>
+ <dt style="margin-left: -24.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -24.60ex;"><a class="permalink" href="#ZIP_FL_CENTRAL"><code class="Dv" title="Dv" id="ZIP_FL_CENTRAL">ZIP_FL_CENTRAL</code></a></dt>
+ <dd>Return extra fields from the archive's central directory.</dd>
+ <dt style="margin-left: -24.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -24.60ex;"><a class="permalink" href="#ZIP_FL_LOCAL"><code class="Dv" title="Dv" id="ZIP_FL_LOCAL">ZIP_FL_LOCAL</code></a></dt>
+ <dd>Return extra fields from the local file headers.</dd>
+ <dt style="margin-left: -24.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -24.60ex;"><a class="permalink" href="#ZIP_FL_UNCHANGED"><code class="Dv" title="Dv" id="ZIP_FL_UNCHANGED">ZIP_FL_UNCHANGED</code></a></dt>
+ <dd>Return the original unchanged extra fields, ignoring any changes
+ made.</dd>
</dl>
</div>
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_file_extra_field_get_by_id</b>() function
+The <code class="Fn" title="Fn">zip_file_extra_field_get_by_id</code>() function
returns the extra field with ID (two-byte signature)
<var class="Ar" title="Ar">extra_field_id</var> and index
<var class="Ar" title="Ar">extra_field_index</var> (in other words, the
<var class="Ar" title="Ar">extra_field_index</var><span class="No">'th</span>
extra field with ID <var class="Ar" title="Ar">extra_field_id</var>) The other
arguments are the same as for
- <b class="Fn" title="Fn">zip_file_extra_field_get</b>().
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+ <code class="Fn" title="Fn">zip_file_extra_field_get</code>().
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, a pointer to an extra field is returned, or
<code class="Dv" title="Dv">NULL</code> if there is no extra field with that
@@ -144,42 +138,43 @@
<var class="Ar" title="Ar">index</var>. In case of an error,
<code class="Dv" title="Dv">NULL</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_extra_field_get</b>() and
- <b class="Fn" title="Fn">zip_file_extra_field_get_by_id</b>() fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_extra_field_get</code>() and
+ <code class="Fn" title="Fn">zip_file_extra_field_get_by_id</code>() fail if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>, or
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>, or
<var class="Ar" title="Ar">extra_field_index</var> is not a valid extra
file index (for ID <var class="Ar" title="Ar">extra_field_id</var>).</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_field_delete.html">zip_file_extra_field_delete(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_field_set.html">zip_file_extra_field_set(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_fields_count.html">zip_file_extra_fields_count(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_extra_field_get</b>() and
- <b class="Fn" title="Fn">zip_file_extra_field_get_by_id</b>() were added in
- libzip 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_extra_field_get</code>() and
+ <code class="Fn" title="Fn">zip_file_extra_field_get_by_id</code>() were added
+ in libzip 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
<<a class="Mt" title="Mt" href="mailto:tk@giga.or.at">tk@giga.or.at</a>>
-<h1 class="Sh" title="Sh" id="CAVEATS"><a class="selflink" href="#CAVEATS">CAVEATS</a></h1>
+<h1 class="Sh" title="Sh" id="CAVEATS"><a class="permalink" href="#CAVEATS">CAVEATS</a></h1>
Please note that the extra field IDs 0x0001 (ZIP64 extension), 0x6375 (Infozip
UTF-8 comment), and 0x7075 (Infozip UTF-8 file name) can not be read using
- <b class="Fn" title="Fn">zip_file_extra_field_get</b>() since they are used by
- <a class="Xr" title="Xr" href="libzip.html">libzip(3)</a> internally.</div>
+ <code class="Fn" title="Fn">zip_file_extra_field_get</code>() since they are
+ used by <a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>
+ internally.</div>
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_extra_field_set.html b/man/zip_file_extra_field_set.html
index 1c601dd..c17faba 100644
--- a/man/zip_file_extra_field_set.html
+++ b/man/zip_file_extra_field_set.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_EXTRA_FIELD_SET(3)</title>
</head>
@@ -52,17 +46,18 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_extra_field_set</b> —
- <span class="Nd" title="Nd">set extra field for file in zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_extra_field_set</code> —
+<div class="Nd" title="Nd">set extra field for file in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_file_extra_field_set</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_extra_field_set</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -75,9 +70,9 @@
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint16_t
len</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_file_extra_field_set</b>() function sets the
- extra field with ID (two-byte signature)
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_file_extra_field_set</code>() function sets
+ the extra field with ID (two-byte signature)
<var class="Ar" title="Ar">extra_field_id</var> and index
<var class="Ar" title="Ar">extra_field_index</var> for the file at position
<var class="Ar" title="Ar">index</var> in the zip archive. The extra field's
@@ -90,57 +85,57 @@
set:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 22.20ex;">
- <dt class="It-tag" style="margin-left: -22.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"><a class="selflink" href="#ZIP_FL_CENTRAL"><code class="Dv" title="Dv" id="ZIP_FL_CENTRAL">ZIP_FL_CENTRAL</code></a></dt>
- <dd class="It-tag">Set extra field in the archive's central directory.</dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"><a class="selflink" href="#ZIP_FL_LOCAL"><code class="Dv" title="Dv" id="ZIP_FL_LOCAL">ZIP_FL_LOCAL</code></a></dt>
- <dd class="It-tag">Set extra field in the local file headers.</dd>
+ <dt style="margin-left: -22.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -22.20ex;"><a class="permalink" href="#ZIP_FL_CENTRAL"><code class="Dv" title="Dv" id="ZIP_FL_CENTRAL">ZIP_FL_CENTRAL</code></a></dt>
+ <dd>Set extra field in the archive's central directory.</dd>
+ <dt style="margin-left: -22.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -22.20ex;"><a class="permalink" href="#ZIP_FL_LOCAL"><code class="Dv" title="Dv" id="ZIP_FL_LOCAL">ZIP_FL_LOCAL</code></a></dt>
+ <dd>Set extra field in the local file headers.</dd>
</dl>
</div>
<div class="Pp"></div>
Please note that the extra field IDs 0x0001 (ZIP64 extension), 0x6375 (Infozip
UTF-8 comment), and 0x7075 (Infozip UTF-8 file name) can not be set using
- <b class="Fn" title="Fn">zip_file_extra_field_set</b>() since they are set by
- <a class="Xr" title="Xr" href="libzip.html">libzip(3)</a> automatically when
- needed.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+ <code class="Fn" title="Fn">zip_file_extra_field_set</code>() since they are
+ set by <a class="Xr" title="Xr" href="libzip.html">libzip(3)</a> automatically
+ when needed.
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error code in <var class="Ar" title="Ar">archive</var> is set to indicate the
error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_extra_field_set</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_extra_field_set</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag">The extra field size is too large (ID and length need 4
- bytes; the maximum length of all extra fields for one file combined is
- 65536 bytes). This error also occurs if
- <var class="Ar" title="Ar">extra_field_index</var> is too large.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd>The extra field size is too large (ID and length need 4 bytes; the maximum
+ length of all extra fields for one file combined is 65536 bytes). This
+ error also occurs if <var class="Ar" title="Ar">extra_field_index</var> is
+ too large.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_field_delete.html">zip_file_extra_field_delete(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_field_get.html">zip_file_extra_field_get(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_fields_count.html">zip_file_extra_fields_count(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_extra_field_set</b>() was added in libzip
- 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_extra_field_set</code>() was added in
+ libzip 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -148,7 +143,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_extra_fields_count.html b/man/zip_file_extra_fields_count.html
index b0996f4..5ba9163 100644
--- a/man/zip_file_extra_fields_count.html
+++ b/man/zip_file_extra_fields_count.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_EXTRA_FIELDS_COUNT(3)</title>
</head>
@@ -52,18 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_extra_fields_count</b>,
- <b class="Nm" title="Nm">zip_file_extra_fields_count_by_id</b> —
- <span class="Nd" title="Nd">count extra fields for file in zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_extra_fields_count</code>,
+ <code class="Nm" title="Nm">zip_file_extra_fields_count_by_id</code> —
+<div class="Nd" title="Nd">count extra fields for file in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int16_t</var>
<br/>
-<b class="Fn" title="Fn">zip_file_extra_fields_count</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_extra_fields_count</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -72,7 +67,7 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int16_t</var>
<br/>
-<b class="Fn" title="Fn">zip_file_extra_fields_count_by_id</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_extra_fields_count_by_id</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -80,35 +75,33 @@
extra_field_id</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_file_extra_fields_count</b>() function counts
- the extra fields for the file at position
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_file_extra_fields_count</code>() function
+ counts the extra fields for the file at position
<var class="Ar" title="Ar">index</var> in the zip archive.
<div class="Pp"></div>
The following <var class="Ar" title="Ar">flags</var> are supported:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 22.20ex;">
- <dt class="It-tag" style="margin-left: -22.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"><a class="selflink" href="#ZIP_FL_CENTRAL"><code class="Dv" title="Dv" id="ZIP_FL_CENTRAL">ZIP_FL_CENTRAL</code></a></dt>
- <dd class="It-tag">Count extra fields from the archive's central
- directory.</dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"><a class="selflink" href="#ZIP_FL_LOCAL"><code class="Dv" title="Dv" id="ZIP_FL_LOCAL">ZIP_FL_LOCAL</code></a></dt>
- <dd class="It-tag">Count extra fields from the local file headers.</dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -22.20ex;"><a class="selflink" href="#ZIP_FL_UNCHANGED"><code class="Dv" title="Dv" id="ZIP_FL_UNCHANGED">ZIP_FL_UNCHANGED</code></a></dt>
- <dd class="It-tag">Count the original unchanged extra fields, ignoring any
- changes made.</dd>
+ <dt style="margin-left: -22.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -22.20ex;"><a class="permalink" href="#ZIP_FL_CENTRAL"><code class="Dv" title="Dv" id="ZIP_FL_CENTRAL">ZIP_FL_CENTRAL</code></a></dt>
+ <dd>Count extra fields from the archive's central directory.</dd>
+ <dt style="margin-left: -22.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -22.20ex;"><a class="permalink" href="#ZIP_FL_LOCAL"><code class="Dv" title="Dv" id="ZIP_FL_LOCAL">ZIP_FL_LOCAL</code></a></dt>
+ <dd>Count extra fields from the local file headers.</dd>
+ <dt style="margin-left: -22.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -22.20ex;"><a class="permalink" href="#ZIP_FL_UNCHANGED"><code class="Dv" title="Dv" id="ZIP_FL_UNCHANGED">ZIP_FL_UNCHANGED</code></a></dt>
+ <dd>Count the original unchanged extra fields, ignoring any changes made.</dd>
</dl>
</div>
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_file_extra_fields_count_by_id</b>() function
- counts the extra fields with ID (two-byte signature)
+The <code class="Fn" title="Fn">zip_file_extra_fields_count_by_id</code>()
+ function counts the extra fields with ID (two-byte signature)
<var class="Ar" title="Ar">extra_field_id</var>. The other arguments are the
- same as for <b class="Fn" title="Fn">zip_file_extra_fields_count</b>().
+ same as for <code class="Fn" title="Fn">zip_file_extra_fields_count</code>().
<div class="Pp"></div>
Extra fields that are the same in the central directory and the local file
header are merged into one. Therefore, the counts with
@@ -117,32 +110,33 @@
same value as when given
<code class="Dv" title="Dv">ZIP_FL_CENTRAL|ZIP_FL_LOCAL</code> at the same
time.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the requested number of extra fields is returned.
Otherwise, -1 is returned and the error code in
<var class="Ar" title="Ar">archive</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_extra_fields_count</b>() and
- <b class="Fn" title="Fn">zip_file_extra_fields_count_by_id</b>() fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_extra_fields_count</code>() and
+ <code class="Fn" title="Fn">zip_file_extra_fields_count_by_id</code>() fail
+ if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_field_delete.html">zip_file_extra_field_delete(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_field_get.html">zip_file_extra_field_get(3)</a>,
<a class="Xr" title="Xr" href="zip_file_extra_field_set.html">zip_file_extra_field_set(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_extra_fields_count</b>() and
- <b class="Fn" title="Fn">zip_file_extra_fields_count_by_id</b>() were added in
- libzip 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_extra_fields_count</code>() and
+ <code class="Fn" title="Fn">zip_file_extra_fields_count_by_id</code>() were
+ added in libzip 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -150,7 +144,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_get_comment.html b/man/zip_file_get_comment.html
index 12ddaff..f649a30 100644
--- a/man/zip_file_get_comment.html
+++ b/man/zip_file_get_comment.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_GET_COMMENT(3)</title>
</head>
@@ -52,17 +46,18 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_get_comment</b> —
- <span class="Nd" title="Nd">get comment for file in zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_get_comment</code> —
+<div class="Nd" title="Nd">get comment for file in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">const char *</var>
<br/>
-<b class="Fn" title="Fn">zip_file_get_comment</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_get_comment</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -70,10 +65,10 @@
*lenp</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_file_get_comment</b>() function returns the
- comment for the file at position <var class="Ar" title="Ar">index</var> in the
- zip archive. The name is in UTF-8 encoding unless
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_file_get_comment</code>() function returns
+ the comment for the file at position <var class="Ar" title="Ar">index</var> in
+ the zip archive. The name is in UTF-8 encoding unless
<code class="Dv" title="Dv">ZIP_FL_ENC_RAW</code> was specified (see below).
This pointer should not be modified or
<a class="Xr" title="Xr" href="free.html">free(3)</a>'d, and becomes invalid
@@ -88,49 +83,49 @@
supported:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 25.80ex;">
- <dt class="It-tag" style="margin-left: -25.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"><a class="selflink" href="#ZIP_FL_ENC_RAW"><code class="Dv" title="Dv" id="ZIP_FL_ENC_RAW">ZIP_FL_ENC_RAW</code></a></dt>
- <dd class="It-tag">Return the unmodified comment as it is in the ZIP
- archive.</dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"><a class="selflink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
- <dd class="It-tag">(Default.) Guess the encoding of the comment in the ZIP
- archive and convert it to UTF-8, if necessary.</dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"><a class="selflink" href="#ZIP_FL_ENC_STRICT"><code class="Dv" title="Dv" id="ZIP_FL_ENC_STRICT">ZIP_FL_ENC_STRICT</code></a></dt>
- <dd class="It-tag">Follow the ZIP specification for file names and extend it
- to file comments, expecting them to be encoded in CP-437 in the ZIP
- archive (except if it is a UTF-8 comment from the special extra field).
- Convert it to UTF-8.</dd>
+ <dt style="margin-left: -25.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -25.80ex;"><a class="permalink" href="#ZIP_FL_ENC_RAW"><code class="Dv" title="Dv" id="ZIP_FL_ENC_RAW">ZIP_FL_ENC_RAW</code></a></dt>
+ <dd>Return the unmodified comment as it is in the ZIP archive.</dd>
+ <dt style="margin-left: -25.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -25.80ex;"><a class="permalink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
+ <dd>(Default.) Guess the encoding of the comment in the ZIP archive and
+ convert it to UTF-8, if necessary.</dd>
+ <dt style="margin-left: -25.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -25.80ex;"><a class="permalink" href="#ZIP_FL_ENC_STRICT"><code class="Dv" title="Dv" id="ZIP_FL_ENC_STRICT">ZIP_FL_ENC_STRICT</code></a></dt>
+ <dd>Follow the ZIP specification for file names and extend it to file
+ comments, expecting them to be encoded in CP-437 in the ZIP archive
+ (except if it is a UTF-8 comment from the special extra field). Convert it
+ to UTF-8.</dd>
</dl>
</div>
<i class="Em" title="Em">Note</i>: ASCII is a subset of both CP-437 and UTF-8.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, a pointer to the comment is returned, or
<code class="Dv" title="Dv">NULL</code> if there is no comment. In case of an
error, <code class="Dv" title="Dv">NULL</code> is returned and the error code
in <var class="Ar" title="Ar">archive</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_get_comment</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_get_comment</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_set_comment.html">zip_file_set_comment(3)</a>,
<a class="Xr" title="Xr" href="zip_get_archive_comment.html">zip_get_archive_comment(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_get_comment</b>() was added in libzip 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_get_comment</code>() was added in libzip
+ 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -138,7 +133,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_get_error.html b/man/zip_file_get_error.html
index a0914b8..1db7bd6 100644
--- a/man/zip_file_get_error.html
+++ b/man/zip_file_get_error.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_GET_ERROR(3)</title>
</head>
@@ -52,27 +46,28 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_get_error</b> —
- <span class="Nd" title="Nd">extract zip_error from zip_file</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_get_error</code> —
+<div class="Nd" title="Nd">extract zip_error from zip_file</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_error_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_file_get_error</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
+<code class="Fn" title="Fn">zip_file_get_error</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
*zf</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<b class="Fn" title="Fn">zip_file_get_error</b>() function returns the zip_error
- associated with the zip_file <var class="Ar" title="Ar">zf</var>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<code class="Fn" title="Fn">zip_file_get_error</code>() function returns the
+ zip_error associated with the zip_file <var class="Ar" title="Ar">zf</var>.
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_get_error</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_get_error</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -80,7 +75,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_get_external_attributes.html b/man/zip_file_get_external_attributes.html
index 0e28627..72f922f 100644
--- a/man/zip_file_get_external_attributes.html
+++ b/man/zip_file_get_external_attributes.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_GET_EXTERNAL_ATTRIBUTES(3)</title>
</head>
@@ -52,17 +46,18 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_get_external_attributes</b> —
- <span class="Nd" title="Nd">get external attributes for file in zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_get_external_attributes</code> —
+<div class="Nd" title="Nd">get external attributes for file in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_file_get_external_attributes</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_get_external_attributes</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -72,12 +67,12 @@
*opsys</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint32_t
*attributes</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_file_get_external_attributes</b>() function
- returns the operating system and external attributes for the file at position
- <var class="Ar" title="Ar">index</var> in the zip archive. The external
- attributes usually contain the operating system-specific file permissions. If
- <var class="Ar" title="Ar">flags</var> is set to
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_file_get_external_attributes</code>()
+ function returns the operating system and external attributes for the file at
+ position <var class="Ar" title="Ar">index</var> in the zip archive. The
+ external attributes usually contain the operating system-specific file
+ permissions. If <var class="Ar" title="Ar">flags</var> is set to
<code class="Dv" title="Dv">ZIP_FL_UNCHANGED</code>, the original unchanged
values are returned. If <var class="Ar" title="Ar">opsys</var> or
<var class="Ar" title="Ar">attributes</var> are
@@ -85,38 +80,38 @@
<div class="Pp"></div>
The following operating systems are defined by the zip specification:
<ul class="Bl-item Bl-compact" style="margin-left: 6.00ex;">
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_ACORN_RISC"><code class="Dv" title="Dv" id="ZIP_OPSYS_ACORN_RISC">ZIP_OPSYS_ACORN_RISC</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_ALTERNATE_MVS"><code class="Dv" title="Dv" id="ZIP_OPSYS_ALTERNATE_MVS">ZIP_OPSYS_ALTERNATE_MVS</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_AMIGA"><code class="Dv" title="Dv" id="ZIP_OPSYS_AMIGA">ZIP_OPSYS_AMIGA</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_ATARI_ST"><code class="Dv" title="Dv" id="ZIP_OPSYS_ATARI_ST">ZIP_OPSYS_ATARI_ST</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_BEOS"><code class="Dv" title="Dv" id="ZIP_OPSYS_BEOS">ZIP_OPSYS_BEOS</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_CPM"><code class="Dv" title="Dv" id="ZIP_OPSYS_CPM">ZIP_OPSYS_CPM</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_DOS"><code class="Dv" title="Dv" id="ZIP_OPSYS_DOS">ZIP_OPSYS_DOS</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_MACINTOSH"><code class="Dv" title="Dv" id="ZIP_OPSYS_MACINTOSH">ZIP_OPSYS_MACINTOSH</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_MVS"><code class="Dv" title="Dv" id="ZIP_OPSYS_MVS">ZIP_OPSYS_MVS</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_OPENVMS"><code class="Dv" title="Dv" id="ZIP_OPSYS_OPENVMS">ZIP_OPSYS_OPENVMS</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_OS_2"><code class="Dv" title="Dv" id="ZIP_OPSYS_OS_2">ZIP_OPSYS_OS_2</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_OS_400"><code class="Dv" title="Dv" id="ZIP_OPSYS_OS_400">ZIP_OPSYS_OS_400</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_OS_X"><code class="Dv" title="Dv" id="ZIP_OPSYS_OS_X">ZIP_OPSYS_OS_X</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_TANDEM"><code class="Dv" title="Dv" id="ZIP_OPSYS_TANDEM">ZIP_OPSYS_TANDEM</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_UNIX"><code class="Dv" title="Dv" id="ZIP_OPSYS_UNIX">ZIP_OPSYS_UNIX</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_VFAT"><code class="Dv" title="Dv" id="ZIP_OPSYS_VFAT">ZIP_OPSYS_VFAT</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_VM_CMS"><code class="Dv" title="Dv" id="ZIP_OPSYS_VM_CMS">ZIP_OPSYS_VM_CMS</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_VSE"><code class="Dv" title="Dv" id="ZIP_OPSYS_VSE">ZIP_OPSYS_VSE</code></a></li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_WINDOWS_NTFS"><code class="Dv" title="Dv" id="ZIP_OPSYS_WINDOWS_NTFS">ZIP_OPSYS_WINDOWS_NTFS</code></a>
+ <li><a class="permalink" href="#ZIP_OPSYS_ACORN_RISC"><code class="Dv" title="Dv" id="ZIP_OPSYS_ACORN_RISC">ZIP_OPSYS_ACORN_RISC</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_ALTERNATE_MVS"><code class="Dv" title="Dv" id="ZIP_OPSYS_ALTERNATE_MVS">ZIP_OPSYS_ALTERNATE_MVS</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_AMIGA"><code class="Dv" title="Dv" id="ZIP_OPSYS_AMIGA">ZIP_OPSYS_AMIGA</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_ATARI_ST"><code class="Dv" title="Dv" id="ZIP_OPSYS_ATARI_ST">ZIP_OPSYS_ATARI_ST</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_BEOS"><code class="Dv" title="Dv" id="ZIP_OPSYS_BEOS">ZIP_OPSYS_BEOS</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_CPM"><code class="Dv" title="Dv" id="ZIP_OPSYS_CPM">ZIP_OPSYS_CPM</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_DOS"><code class="Dv" title="Dv" id="ZIP_OPSYS_DOS">ZIP_OPSYS_DOS</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_MACINTOSH"><code class="Dv" title="Dv" id="ZIP_OPSYS_MACINTOSH">ZIP_OPSYS_MACINTOSH</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_MVS"><code class="Dv" title="Dv" id="ZIP_OPSYS_MVS">ZIP_OPSYS_MVS</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_OPENVMS"><code class="Dv" title="Dv" id="ZIP_OPSYS_OPENVMS">ZIP_OPSYS_OPENVMS</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_OS_2"><code class="Dv" title="Dv" id="ZIP_OPSYS_OS_2">ZIP_OPSYS_OS_2</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_OS_400"><code class="Dv" title="Dv" id="ZIP_OPSYS_OS_400">ZIP_OPSYS_OS_400</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_OS_X"><code class="Dv" title="Dv" id="ZIP_OPSYS_OS_X">ZIP_OPSYS_OS_X</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_TANDEM"><code class="Dv" title="Dv" id="ZIP_OPSYS_TANDEM">ZIP_OPSYS_TANDEM</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_UNIX"><code class="Dv" title="Dv" id="ZIP_OPSYS_UNIX">ZIP_OPSYS_UNIX</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_VFAT"><code class="Dv" title="Dv" id="ZIP_OPSYS_VFAT">ZIP_OPSYS_VFAT</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_VM_CMS"><code class="Dv" title="Dv" id="ZIP_OPSYS_VM_CMS">ZIP_OPSYS_VM_CMS</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_VSE"><code class="Dv" title="Dv" id="ZIP_OPSYS_VSE">ZIP_OPSYS_VSE</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_WINDOWS_NTFS"><code class="Dv" title="Dv" id="ZIP_OPSYS_WINDOWS_NTFS">ZIP_OPSYS_WINDOWS_NTFS</code></a>
(uncommon, use <code class="Dv" title="Dv">ZIP_OPSYS_DOS</code>
instead)</li>
- <li class="It-item"><a class="selflink" href="#ZIP_OPSYS_Z_SYSTEM"><code class="Dv" title="Dv" id="ZIP_OPSYS_Z_SYSTEM">ZIP_OPSYS_Z_SYSTEM</code></a></li>
+ <li><a class="permalink" href="#ZIP_OPSYS_Z_SYSTEM"><code class="Dv" title="Dv" id="ZIP_OPSYS_Z_SYSTEM">ZIP_OPSYS_Z_SYSTEM</code></a></li>
</ul>
<div class="Pp"></div>
The defines above follow the PKWARE Inc. Appnote; please note that the InfoZIP
Appnote has a slightly different mapping.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, 0 is returned. In case of an error,
<code class="Dv" title="Dv">-1</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="EXAMPLES"><a class="selflink" href="#EXAMPLES">EXAMPLES</a></h1>
+<h1 class="Sh" title="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
The following code can be used to expand
<var class="Ar" title="Ar">attributes</var> if the operating system is
<code class="Dv" title="Dv">ZIP_OPSYS_DOS</code>.
@@ -142,23 +137,23 @@
}
</pre>
</div>
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_get_external_attributes</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_get_external_attributes</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_set_external_attributes.html">zip_file_set_external_attributes(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_get_external_attributes</b>() was added in
- libzip 0.11.2.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_get_external_attributes</code>() was added
+ in libzip 0.11.2.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -166,7 +161,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_rename.html b/man/zip_file_rename.html
index 7b5f5c2..1f4c6d7 100644
--- a/man/zip_file_rename.html
+++ b/man/zip_file_rename.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_RENAME(3)</title>
</head>
@@ -52,80 +46,77 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_rename</b> —
- <span class="Nd" title="Nd">rename file in zip archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_rename</code> —
+<div class="Nd" title="Nd">rename file in zip archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_file_rename</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_rename</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *name</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
The file at position <var class="Ar" title="Ar">index</var> in the zip archive
<var class="Ar" title="Ar">archive</var> is renamed to
<var class="Ar" title="Ar">name</var>. The
<var class="Ar" title="Ar">flags</var> argument can be any of:
<dl class="Bl-tag" style="margin-left: 27.00ex;">
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
- <dd class="It-tag">Guess encoding of <var class="Ar" title="Ar">name</var>
- (default).</dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_UTF_8"><code class="Dv" title="Dv" id="ZIP_FL_ENC_UTF_8">ZIP_FL_ENC_UTF_8</code></a></dt>
- <dd class="It-tag">Interpret <var class="Ar" title="Ar">name</var> as
- UTF-8.</dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_CP437"><code class="Dv" title="Dv" id="ZIP_FL_ENC_CP437">ZIP_FL_ENC_CP437</code></a></dt>
- <dd class="It-tag">Interpret <var class="Ar" title="Ar">name</var> as code
- page 437 (CP-437).</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
+ <dd>Guess encoding of <var class="Ar" title="Ar">name</var> (default).</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_UTF_8"><code class="Dv" title="Dv" id="ZIP_FL_ENC_UTF_8">ZIP_FL_ENC_UTF_8</code></a></dt>
+ <dd>Interpret <var class="Ar" title="Ar">name</var> as UTF-8.</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_CP437"><code class="Dv" title="Dv" id="ZIP_FL_ENC_CP437">ZIP_FL_ENC_CP437</code></a></dt>
+ <dd>Interpret <var class="Ar" title="Ar">name</var> as code page 437
+ (CP-437).</dd>
</dl>
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error code in <var class="Ar" title="Ar">archive</var> is set to indicate the
error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_rename</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_rename</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_DELETED"><code class="Er" title="Er" id="ZIP_ER_DELETED">ZIP_ER_DELETED</code></a>]</dt>
- <dd class="It-tag">The file to be renamed has been deleted from the
- archive.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_EXISTS"><code class="Er" title="Er" id="ZIP_ER_EXISTS">ZIP_ER_EXISTS</code></a>]</dt>
- <dd class="It-tag">There is already a file called
- <var class="Ar" title="Ar">name</var> in the archive.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>,
- <var class="Ar" title="Ar">name is</var>
- <code class="Dv" title="Dv">NULL</code>, the empty string, or not a valid
- UTF-8 encoded string. Also a file cannot be renamed to a directory or vice
- versa. Directories are denoted by a trailing slash.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_DELETED"><code class="Er" title="Er" id="ZIP_ER_DELETED">ZIP_ER_DELETED</code></a>]</dt>
+ <dd>The file to be renamed has been deleted from the archive.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_EXISTS"><code class="Er" title="Er" id="ZIP_ER_EXISTS">ZIP_ER_EXISTS</code></a>]</dt>
+ <dd>There is already a file called <var class="Ar" title="Ar">name</var> in
+ the archive.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>, <var class="Ar" title="Ar">name
+ is</var> <code class="Dv" title="Dv">NULL</code>, the empty string, or not
+ a valid UTF-8 encoded string. Also a file cannot be renamed to a directory
+ or vice versa. Directories are denoted by a trailing slash.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_unchange.html">zip_unchange(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_rename</b>() was added in libzip 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_rename</code>() was added in libzip 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -133,7 +124,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_set_comment.html b/man/zip_file_set_comment.html
index 14b9cf6..5d1f13b 100644
--- a/man/zip_file_set_comment.html
+++ b/man/zip_file_set_comment.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_SET_COMMENT(3)</title>
</head>
@@ -52,17 +46,18 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_set_comment</b> —
- <span class="Nd" title="Nd">set comment for file in zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_set_comment</code> —
+<div class="Nd" title="Nd">set comment for file in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_file_set_comment</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_set_comment</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
@@ -70,8 +65,8 @@
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint16_t
len</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_file_set_comment</b>() function sets the
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_file_set_comment</code>() function sets the
comment for the file at position <var class="Ar" title="Ar">index</var> in the
zip archive to <var class="Ar" title="Ar">comment</var> of length
<var class="Ar" title="Ar">len</var>. If
@@ -80,58 +75,57 @@
<var class="Ar" title="Ar">len</var> is 0, the file comment will be removed.
The <var class="Ar" title="Ar">flags</var> argument can be any of:
<dl class="Bl-tag" style="margin-left: 27.00ex;">
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
- <dd class="It-tag">Guess encoding of <var class="Ar" title="Ar">comment</var>
- (default).</dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_UTF_8"><code class="Dv" title="Dv" id="ZIP_FL_ENC_UTF_8">ZIP_FL_ENC_UTF_8</code></a></dt>
- <dd class="It-tag">Interpret <var class="Ar" title="Ar">comment</var> as
- UTF-8.</dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;"><a class="selflink" href="#ZIP_FL_ENC_CP437"><code class="Dv" title="Dv" id="ZIP_FL_ENC_CP437">ZIP_FL_ENC_CP437</code></a></dt>
- <dd class="It-tag">Interpret <var class="Ar" title="Ar">comment</var> as code
- page 437 (CP-437).</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
+ <dd>Guess encoding of <var class="Ar" title="Ar">comment</var> (default).</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_UTF_8"><code class="Dv" title="Dv" id="ZIP_FL_ENC_UTF_8">ZIP_FL_ENC_UTF_8</code></a></dt>
+ <dd>Interpret <var class="Ar" title="Ar">comment</var> as UTF-8.</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;"><a class="permalink" href="#ZIP_FL_ENC_CP437"><code class="Dv" title="Dv" id="ZIP_FL_ENC_CP437">ZIP_FL_ENC_CP437</code></a></dt>
+ <dd>Interpret <var class="Ar" title="Ar">comment</var> as code page 437
+ (CP-437).</dd>
</dl>
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">archive</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_set_comment</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_set_comment</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>, or
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>, or
<var class="Ar" title="Ar">len</var> is less than 0 or longer than the
maximum comment length in a zip file (65535), or
<var class="Ar" title="Ar">comment</var> is not a valid UTF-8 encoded
string.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
- <dd class="It-tag">The <var class="Ar" title="Ar">archive</var> was opened in
- read-only mode.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
+ <dd>The <var class="Ar" title="Ar">archive</var> was opened in read-only
+ mode.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_get_comment.html">zip_file_get_comment(3)</a>,
<a class="Xr" title="Xr" href="zip_get_archive_comment.html">zip_get_archive_comment(3)</a>,
<a class="Xr" title="Xr" href="zip_set_archive_comment.html">zip_set_archive_comment(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_set_comment</b>() was added in libzip 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_set_comment</code>() was added in libzip
+ 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -139,7 +133,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_set_encryption.html b/man/zip_file_set_encryption.html
index df29680..f946f2e 100644
--- a/man/zip_file_set_encryption.html
+++ b/man/zip_file_set_encryption.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_SET_ENCRYPTION(3)</title>
</head>
@@ -52,26 +46,27 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_set_encryption</b> —
- <span class="Nd" title="Nd">set encryption method for file in zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_set_encryption</code> —
+<div class="Nd" title="Nd">set encryption method for file in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_file_set_encryption</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_set_encryption</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint16_t
method</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *password</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_file_set_encryption</b>() function sets the
- encryption method for the file at position
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_file_set_encryption</code>() function sets
+ the encryption method for the file at position
<var class="Ar" title="Ar">index</var> in the zip archive to
<var class="Ar" title="Ar">method</var> using the password
<var class="Ar" title="Ar">password</var>. The
@@ -80,22 +75,22 @@
<var class="Ar" title="Ar">method</var> argument, currently only the following
values are supported:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"><a class="selflink" href="#ZIP_EM_NONE"><code class="Dv" title="Dv" id="ZIP_EM_NONE">ZIP_EM_NONE</code></a></dt>
- <dd class="It-tag">No encryption.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"><a class="selflink" href="#ZIP_EM_AES_128"><code class="Dv" title="Dv" id="ZIP_EM_AES_128">ZIP_EM_AES_128</code></a></dt>
- <dd class="It-tag">Winzip AES-128 encryption.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"><a class="selflink" href="#ZIP_EM_AES_192"><code class="Dv" title="Dv" id="ZIP_EM_AES_192">ZIP_EM_AES_192</code></a></dt>
- <dd class="It-tag">Winzip AES-192 encryption.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"><a class="selflink" href="#ZIP_EM_AES_256"><code class="Dv" title="Dv" id="ZIP_EM_AES_256">ZIP_EM_AES_256</code></a></dt>
- <dd class="It-tag">Winzip AES-256 encryption.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;"><a class="permalink" href="#ZIP_EM_NONE"><code class="Dv" title="Dv" id="ZIP_EM_NONE">ZIP_EM_NONE</code></a></dt>
+ <dd>No encryption.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;"><a class="permalink" href="#ZIP_EM_AES_128"><code class="Dv" title="Dv" id="ZIP_EM_AES_128">ZIP_EM_AES_128</code></a></dt>
+ <dd>Winzip AES-128 encryption.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;"><a class="permalink" href="#ZIP_EM_AES_192"><code class="Dv" title="Dv" id="ZIP_EM_AES_192">ZIP_EM_AES_192</code></a></dt>
+ <dd>Winzip AES-192 encryption.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;"><a class="permalink" href="#ZIP_EM_AES_256"><code class="Dv" title="Dv" id="ZIP_EM_AES_256">ZIP_EM_AES_256</code></a></dt>
+ <dd>Winzip AES-256 encryption.</dd>
</dl>
<div class="Pp"></div>
If <var class="Ar" title="Ar">password</var> is
@@ -105,42 +100,42 @@
<div class="Pp"></div>
The current encryption method for a file in a zip archive can be determined
using <a class="Xr" title="Xr" href="zip_stat.html">zip_stat(3)</a>.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">archive</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_set_encryption</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_set_encryption</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_ENCRNOTSUPP"><code class="Er" title="Er" id="ZIP_ER_ENCRNOTSUPP">ZIP_ER_ENCRNOTSUPP</code></a>]</dt>
- <dd class="It-tag">Unsupported compression method requested.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>, or the argument
- combination is invalid.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
- <dd class="It-tag">Read-only zip file, no changes allowed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_ENCRNOTSUPP"><code class="Er" title="Er" id="ZIP_ER_ENCRNOTSUPP">ZIP_ER_ENCRNOTSUPP</code></a>]</dt>
+ <dd>Unsupported compression method requested.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>, or the argument combination is
+ invalid.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
+ <dd>Read-only zip file, no changes allowed.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_set_default_password.html">zip_set_default_password(3)</a>,
<a class="Xr" title="Xr" href="zip_stat.html">zip_stat(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_set_encryption</b>() was added in libzip
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_set_encryption</code>() was added in libzip
1.2.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -148,7 +143,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_set_external_attributes.html b/man/zip_file_set_external_attributes.html
index 7619082..146f75b 100644
--- a/man/zip_file_set_external_attributes.html
+++ b/man/zip_file_set_external_attributes.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_SET_EXTERNAL_ATTRIBUTES(3)</title>
</head>
@@ -52,17 +46,18 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_set_external_attributes</b> —
- <span class="Nd" title="Nd">set external attributes for file in zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_set_external_attributes</code> —
+<div class="Nd" title="Nd">set external attributes for file in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_file_set_external_attributes</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_set_external_attributes</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -72,45 +67,45 @@
opsys</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint32_t
attributes</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_file_set_external_attributes</b>() function
- sets the operating system and external attributes for the file at position
- <var class="Ar" title="Ar">index</var> in the zip archive. Currently, no
- <var class="Ar" title="Ar">flags</var> are supported.
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_file_set_external_attributes</code>()
+ function sets the operating system and external attributes for the file at
+ position <var class="Ar" title="Ar">index</var> in the zip archive. Currently,
+ no <var class="Ar" title="Ar">flags</var> are supported.
<div class="Pp"></div>
For a list of known <var class="Ar" title="Ar">opsys</var> values, see
<a class="Xr" title="Xr" href="zip_file_get_external_attributes.html">zip_file_get_external_attributes(3)</a>.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">archive</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_set_external_attributes</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_set_external_attributes</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
- <dd class="It-tag">The <var class="Ar" title="Ar">archive</var> was opened in
- read-only mode.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
+ <dd>The <var class="Ar" title="Ar">archive</var> was opened in read-only
+ mode.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_get_external_attributes.html">zip_file_get_external_attributes(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_set_external_attributes</b>() was added in
- libzip 0.11.2.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_set_external_attributes</code>() was added
+ in libzip 0.11.2.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -118,7 +113,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_set_mtime.html b/man/zip_file_set_mtime.html
index 1fea202..2854d3f 100644
--- a/man/zip_file_set_mtime.html
+++ b/man/zip_file_set_mtime.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_SET_MTIME(3)</title>
</head>
@@ -52,60 +46,61 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_set_mtime</b> —
- <span class="Nd" title="Nd">set last modification time (mtime) for file in
- zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_set_mtime</code> —
+<div class="Nd" title="Nd">set last modification time (mtime) for file in
+ zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_file_set_mtime</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_file_set_mtime</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">time_t
mtime</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_file_set_mtime</b>() function sets the last
- modification time (mtime) for the file at position
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_file_set_mtime</code>() function sets the
+ last modification time (mtime) for the file at position
<var class="Ar" title="Ar">index</var> in the zip archive to
<var class="Ar" title="Ar">mtime</var>. Currently, no support for any
<var class="Ar" title="Ar">flags</var> is implemented.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">archive</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_file_set_mtime</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_file_set_mtime</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
- <dd class="It-tag">The <var class="Ar" title="Ar">archive</var> was opened in
- read-only mode.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
+ <dd>The <var class="Ar" title="Ar">archive</var> was opened in read-only
+ mode.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_stat.html">zip_stat(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_set_mtime</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_set_mtime</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -113,7 +108,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_file_strerror.html b/man/zip_file_strerror.html
index 168c693..0294c0d 100644
--- a/man/zip_file_strerror.html
+++ b/man/zip_file_strerror.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FILE_STRERROR(3)</title>
</head>
@@ -52,49 +46,50 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_file_strerror</b>,
- <b class="Nm" title="Nm">zip_strerror</b> —
- <span class="Nd" title="Nd">get string representation for a zip error</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_file_strerror</code>,
+ <code class="Nm" title="Nm">zip_strerror</code> —
+<div class="Nd" title="Nd">get string representation for a zip error</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">const char *</var>
<br/>
-<b class="Fn" title="Fn">zip_file_strerror</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
+<code class="Fn" title="Fn">zip_file_strerror</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
*file</var>);
<div class="Pp"></div>
<var class="Ft" title="Ft">const char *</var>
<br/>
-<b class="Fn" title="Fn">zip_strerror</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_strerror</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_strerror</b>() function returns a string
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_strerror</code>() function returns a string
describing the last error for the zip archive
<var class="Ar" title="Ar">archive</var>, while the
- <b class="Fn" title="Fn">zip_file_strerror</b>() function does the same for a
- zip file <var class="Ar" title="Ar">file</var> (one file in an archive). The
- returned string must not be modified or freed, and becomes invalid when
+ <code class="Fn" title="Fn">zip_file_strerror</code>() function does the same
+ for a zip file <var class="Ar" title="Ar">file</var> (one file in an archive).
+ The returned string must not be modified or freed, and becomes invalid when
<var class="Ar" title="Ar">archive</var> or
<var class="Ar" title="Ar">file</var>, respectively, is closed or on the next
- call to <b class="Fn" title="Fn">zip_strerror</b>() or
- <b class="Fn" title="Fn">zip_file_strerror</b>(), respectively, for the same
- archive.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+ call to <code class="Fn" title="Fn">zip_strerror</code>() or
+ <code class="Fn" title="Fn">zip_file_strerror</code>(), respectively, for the
+ same archive.
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-<b class="Fn" title="Fn">zip_file_strerror</b>() and
- <b class="Fn" title="Fn">zip_strerror</b>() return a pointer to the error
- string.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<code class="Fn" title="Fn">zip_file_strerror</code>() and
+ <code class="Fn" title="Fn">zip_strerror</code>() return a pointer to the
+ error string.
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_to_str.html">zip_error_to_str(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_file_strerror</b>() and
- <b class="Fn" title="Fn">zip_strerror</b>() were added in libzip 0.6.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_file_strerror</code>() and
+ <code class="Fn" title="Fn">zip_strerror</code>() were added in libzip 0.6.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -102,7 +97,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_fopen.html b/man/zip_fopen.html
index 5841e84..62fd646 100644
--- a/man/zip_fopen.html
+++ b/man/zip_fopen.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FOPEN(3)</title>
</head>
@@ -52,18 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_fopen</b>,
- <b class="Nm" title="Nm">zip_fopen_index</b> —
- <span class="Nd" title="Nd">open file in zip archive for reading</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_fopen</code>,
+ <code class="Nm" title="Nm">zip_fopen_index</code> —
+<div class="Nd" title="Nd">open file in zip archive for reading</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_file_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_fopen</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_fopen</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *fname</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
@@ -71,14 +66,14 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_file_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_fopen_index</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_fopen_index</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_fopen</b>() function opens the file name
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_fopen</code>() function opens the file name
<var class="Ar" title="Ar">fname</var> in
<var class="Ar" title="Ar">archive</var>. The
<var class="Ar" title="Ar">flags</var> argument specifies how the name lookup
@@ -88,21 +83,21 @@
<i class="Em" title="Em">or</i><span class="No">'ed</span> to it.
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"><a class="selflink" href="#ZIP_FL_COMPRESSED"><code class="Dv" title="Dv" id="ZIP_FL_COMPRESSED">ZIP_FL_COMPRESSED</code></a></dt>
- <dd class="It-tag">Read the compressed data. Otherwise the data is
- uncompressed by <b class="Fn" title="Fn">zip_fread</b>().</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"><a class="selflink" href="#ZIP_FL_UNCHANGED"><code class="Dv" title="Dv" id="ZIP_FL_UNCHANGED">ZIP_FL_UNCHANGED</code></a></dt>
- <dd class="It-tag">Read the original data from the zip archive, ignoring any
- changes made to the file.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;"><a class="permalink" href="#ZIP_FL_COMPRESSED"><code class="Dv" title="Dv" id="ZIP_FL_COMPRESSED">ZIP_FL_COMPRESSED</code></a></dt>
+ <dd>Read the compressed data. Otherwise the data is uncompressed by
+ <code class="Fn" title="Fn">zip_fread</code>().</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;"><a class="permalink" href="#ZIP_FL_UNCHANGED"><code class="Dv" title="Dv" id="ZIP_FL_UNCHANGED">ZIP_FL_UNCHANGED</code></a></dt>
+ <dd>Read the original data from the zip archive, ignoring any changes made to
+ the file.</dd>
</dl>
</div>
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_fopen_index</b>() function opens the file at
- position <var class="Ar" title="Ar">index</var>.
+The <code class="Fn" title="Fn">zip_fopen_index</code>() function opens the file
+ at position <var class="Ar" title="Ar">index</var>.
<div class="Pp"></div>
If encrypted data is encountered, the functions call
<a class="Xr" title="Xr" href="zip_fopen_encrypted.html">zip_fopen_encrypted(3)</a>
@@ -110,64 +105,63 @@
<a class="Xr" title="Xr" href="zip_fopen_index_encrypted.html">zip_fopen_index_encrypted(3)</a>
respectively, using the default password set with
<a class="Xr" title="Xr" href="zip_set_default_password.html">zip_set_default_password(3)</a>.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, a <var class="Ft" title="Ft">struct zip_file</var>
pointer is returned. Otherwise, <code class="Dv" title="Dv">NULL</code> is
returned and the error code in <var class="Ar" title="Ar">archive</var> is set
to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_CHANGED"><code class="Er" title="Er" id="ZIP_ER_CHANGED">ZIP_ER_CHANGED</code></a>]</dt>
- <dd class="It-tag">The file data has been changed.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_COMPNOTSUPP"><code class="Er" title="Er" id="ZIP_ER_COMPNOTSUPP">ZIP_ER_COMPNOTSUPP</code></a>]</dt>
- <dd class="It-tag">The compression method used is not supported.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_ENCRNOTSUPP"><code class="Er" title="Er" id="ZIP_ER_ENCRNOTSUPP">ZIP_ER_ENCRNOTSUPP</code></a>]</dt>
- <dd class="It-tag">The encryption method used is not supported.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_NOPASSWD"><code class="Er" title="Er" id="ZIP_ER_NOPASSWD">ZIP_ER_NOPASSWD</code></a>]</dt>
- <dd class="It-tag">The file is encrypted, but no password has been
- provided.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_READ"><code class="Er" title="Er" id="ZIP_ER_READ">ZIP_ER_READ</code></a>]</dt>
- <dd class="It-tag">A file read error occurred.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_SEEK"><code class="Er" title="Er" id="ZIP_ER_SEEK">ZIP_ER_SEEK</code></a>]</dt>
- <dd class="It-tag">A file seek error occurred.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_WRONGPASSWD"><code class="Er" title="Er" id="ZIP_ER_WRONGPASSWD">ZIP_ER_WRONGPASSWD</code></a>]</dt>
- <dd class="It-tag">The provided password does not match the password used for
- encryption. Note that some incorrect passwords are not detected by the
- check done by <b class="Fn" title="Fn">zip_fopen</b>().</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_ZLIB"><code class="Er" title="Er" id="ZIP_ER_ZLIB">ZIP_ER_ZLIB</code></a>]</dt>
- <dd class="It-tag">Initializing the zlib stream failed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_CHANGED"><code class="Er" title="Er" id="ZIP_ER_CHANGED">ZIP_ER_CHANGED</code></a>]</dt>
+ <dd>The file data has been changed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_COMPNOTSUPP"><code class="Er" title="Er" id="ZIP_ER_COMPNOTSUPP">ZIP_ER_COMPNOTSUPP</code></a>]</dt>
+ <dd>The compression method used is not supported.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_ENCRNOTSUPP"><code class="Er" title="Er" id="ZIP_ER_ENCRNOTSUPP">ZIP_ER_ENCRNOTSUPP</code></a>]</dt>
+ <dd>The encryption method used is not supported.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_NOPASSWD"><code class="Er" title="Er" id="ZIP_ER_NOPASSWD">ZIP_ER_NOPASSWD</code></a>]</dt>
+ <dd>The file is encrypted, but no password has been provided.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_READ"><code class="Er" title="Er" id="ZIP_ER_READ">ZIP_ER_READ</code></a>]</dt>
+ <dd>A file read error occurred.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_SEEK"><code class="Er" title="Er" id="ZIP_ER_SEEK">ZIP_ER_SEEK</code></a>]</dt>
+ <dd>A file seek error occurred.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_WRONGPASSWD"><code class="Er" title="Er" id="ZIP_ER_WRONGPASSWD">ZIP_ER_WRONGPASSWD</code></a>]</dt>
+ <dd>The provided password does not match the password used for encryption.
+ Note that some incorrect passwords are not detected by the check done by
+ <code class="Fn" title="Fn">zip_fopen</code>().</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_ZLIB"><code class="Er" title="Er" id="ZIP_ER_ZLIB">ZIP_ER_ZLIB</code></a>]</dt>
+ <dd>Initializing the zlib stream failed.</dd>
</dl>
<div class="Pp"></div>
-The function <b class="Fn" title="Fn">zip_fopen</b>() may also fail and set
- <var class="Va" title="Va">zip_err</var> for any of the errors specified for
- the routine
+The function <code class="Fn" title="Fn">zip_fopen</code>() may also fail and
+ set <var class="Va" title="Va">zip_err</var> for any of the errors specified
+ for the routine
<a class="Xr" title="Xr" href="zip_name_locate.html">zip_name_locate(3)</a>.
<div class="Pp"></div>
-The function <b class="Fn" title="Fn">zip_fopen_index</b>() may also fail with
- <code class="Er" title="Er">ZIP_ER_INVAL</code> if
+The function <code class="Fn" title="Fn">zip_fopen_index</code>() may also fail
+ with <code class="Er" title="Er">ZIP_ER_INVAL</code> if
<var class="Ar" title="Ar">index</var> is invalid.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_fclose.html">zip_fclose(3)</a>,
@@ -176,10 +170,10 @@
<a class="Xr" title="Xr" href="zip_get_num_entries.html">zip_get_num_entries(3)</a>,
<a class="Xr" title="Xr" href="zip_name_locate.html">zip_name_locate(3)</a>,
<a class="Xr" title="Xr" href="zip_set_default_password.html">zip_set_default_password(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_fopen</b>() and
- <b class="Fn" title="Fn">zip_fopen_index</b>() were added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_fopen</code>() and
+ <code class="Fn" title="Fn">zip_fopen_index</code>() were added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -187,7 +181,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_fopen_encrypted.html b/man/zip_fopen_encrypted.html
index 0d3d422..e1b68bc 100644
--- a/man/zip_fopen_encrypted.html
+++ b/man/zip_fopen_encrypted.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FOPEN_ENCRYPTED(3)</title>
</head>
@@ -52,19 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_fopen_encrypted</b>,
- <b class="Nm" title="Nm">zip_fopen_index_encrypted</b> —
- <span class="Nd" title="Nd">open encrypted file in zip archive for
- reading</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_fopen_encrypted</code>,
+ <code class="Nm" title="Nm">zip_fopen_index_encrypted</code> —
+<div class="Nd" title="Nd">open encrypted file in zip archive for reading</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_file_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_fopen_encrypted</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_fopen_encrypted</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *fname</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
@@ -73,52 +67,52 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_file_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_fopen_index_encrypted</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_fopen_index_encrypted</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *password</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_fopen_encrypted</b>() function opens the
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_fopen_encrypted</code>() function opens the
encrypted file name <var class="Ar" title="Ar">fname</var> in
<var class="Ar" title="Ar">archive</var> using the password given in the
<var class="Ar" title="Ar">password</var> argument. The
<var class="Ar" title="Ar">flags</var> argument are the same as for
<a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a>.
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_fopen_index_encrypted</b>() function opens the
- file at position <var class="Ar" title="Ar">index</var>, see
+The <code class="Fn" title="Fn">zip_fopen_index_encrypted</code>() function
+ opens the file at position <var class="Ar" title="Ar">index</var>, see
<a class="Xr" title="Xr" href="zip_fopen_index.html">zip_fopen_index(3)</a>.
These functions are called automatically by
<a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a>; you only need
to call them if you want to specify a non-default password (see
<a class="Xr" title="Xr" href="zip_set_default_password.html">zip_set_default_password(3)</a>).
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, a <var class="Ft" title="Ft">struct zip_file</var>
pointer is returned. Otherwise, <code class="Dv" title="Dv">NULL</code> is
returned and the error code in <var class="Ar" title="Ar">archive</var> is set
to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
<dl class="Bl-tag" style="margin-left: 27.00ex;">
- <dt class="It-tag" style="margin-left: -27.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -27.00ex;">[<a class="selflink" href="#ZIP_ER_NOPASSWD"><code class="Er" title="Er" id="ZIP_ER_NOPASSWD">ZIP_ER_NOPASSWD</code></a>]</dt>
- <dd class="It-tag">No password was provided.</dd>
+ <dt style="margin-left: -27.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -27.00ex;">[<a class="permalink" href="#ZIP_ER_NOPASSWD"><code class="Er" title="Er" id="ZIP_ER_NOPASSWD">ZIP_ER_NOPASSWD</code></a>]</dt>
+ <dd>No password was provided.</dd>
</dl>
<div class="Pp"></div>
-The function <b class="Fn" title="Fn">zip_fopen_encrypted</b>() may also fail
- and set <var class="Va" title="Va">zip_err</var> for any of the errors
+The function <code class="Fn" title="Fn">zip_fopen_encrypted</code>() may also
+ fail and set <var class="Va" title="Va">zip_err</var> for any of the errors
specified for the routine
<a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a>.
<div class="Pp"></div>
-The function <b class="Fn" title="Fn">zip_fopen_index_encrypted</b>() may also
- fail and set <var class="Va" title="Va">zip_err</var> for any of the errors
- specified for the routine
+The function <code class="Fn" title="Fn">zip_fopen_index_encrypted</code>() may
+ also fail and set <var class="Va" title="Va">zip_err</var> for any of the
+ errors specified for the routine
<a class="Xr" title="Xr" href="zip_fopen_index.html">zip_fopen_index(3)</a>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_fclose.html">zip_fclose(3)</a>,
@@ -126,11 +120,11 @@
<a class="Xr" title="Xr" href="zip_fread.html">zip_fread(3)</a>,
<a class="Xr" title="Xr" href="zip_get_num_entries.html">zip_get_num_entries(3)</a>,
<a class="Xr" title="Xr" href="zip_name_locate.html">zip_name_locate(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_fopen_encrypted</b>() and
- <b class="Fn" title="Fn">zip_fopen_index_encrypted</b>() were added in libzip
- 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_fopen_encrypted</code>() and
+ <code class="Fn" title="Fn">zip_fopen_index_encrypted</code>() were added in
+ libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -138,7 +132,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_fread.html b/man/zip_fread.html
index 5c9ebd1..8c3142e 100644
--- a/man/zip_fread.html
+++ b/man/zip_fread.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FREAD(3)</title>
</head>
@@ -52,44 +46,46 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_fread</b> — <span class="Nd" title="Nd">read
- from file</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_fread</code> —
+<div class="Nd" title="Nd">read from file</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_fread</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
+<code class="Fn" title="Fn">zip_fread</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
*file</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">void
*buf</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
nbytes</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_fread</b>() function reads at most
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_fread</code>() function reads at most
<var class="Ar" title="Ar">nbytes</var> bytes from
<var class="Ar" title="Ar">file</var> into
<var class="Ar" title="Ar">buf</var>.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
If successful, the number of bytes actually read is returned. Otherwise, -1 is
returned.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_fclose.html">zip_fclose(3)</a>,
<a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a>,
<a class="Xr" title="Xr" href="zip_fseek.html">zip_fseek(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_fread</b>() was added in libzip 0.6. In libzip 0.10
- the return type was changed from <var class="Vt" title="Vt">ssize_t</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_fread</code>() was added in libzip 0.6. In
+ libzip 0.10 the return type was changed from
+ <var class="Vt" title="Vt">ssize_t</var> to
<var class="Vt" title="Vt">zip_int64_t</var>. In libzip 0.10 the type of
<var class="Ar" title="Ar">nbytes</var> was changed from
<var class="Vt" title="Vt">size_t</var> to
<var class="Vt" title="Vt">zip_uint64_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -97,7 +93,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_fseek.html b/man/zip_fseek.html
index 679ebae..d8eab7b 100644
--- a/man/zip_fseek.html
+++ b/man/zip_fseek.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FSEEK(3)</title>
</head>
@@ -52,43 +46,44 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_fseek</b> — <span class="Nd" title="Nd">seek
- in file</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_fseek</code> —
+<div class="Nd" title="Nd">seek in file</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int8_t</var>
<br/>
-<b class="Fn" title="Fn">zip_fseek</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
+<code class="Fn" title="Fn">zip_fseek</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
*file</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_int64_t
offset</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
whence</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_fseek</b>() function seeks to the specified
- <var class="Ar" title="Ar">offset</var> relative to
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_fseek</code>() function seeks to the
+ specified <var class="Ar" title="Ar">offset</var> relative to
<var class="Ar" title="Ar">whence</var>, just like
<a class="Xr" title="Xr" href="fseek.html">fseek(3)</a>.
<div class="Pp"></div>
-<b class="Nm" title="Nm">zip_fseek</b> only works on uncompressed (stored) data.
- When called on compressed data it will return an error.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<code class="Nm" title="Nm">zip_fseek</code> only works on uncompressed (stored)
+ data. When called on compressed data it will return an error.
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-If successful, <b class="Nm" title="Nm">zip_fseek</b> returns 0. Otherwise, -1
- is returned.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+If successful, <code class="Nm" title="Nm">zip_fseek</code> returns 0.
+ Otherwise, -1 is returned.
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_fclose.html">zip_fclose(3)</a>,
<a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a>,
<a class="Xr" title="Xr" href="zip_fread.html">zip_fread(3)</a>,
<a class="Xr" title="Xr" href="zip_ftell.html">zip_ftell(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_fseek</b>() was added in libzip 1.2.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_fseek</code>() was added in libzip 1.2.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -96,7 +91,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_ftell.html b/man/zip_ftell.html
index 5010ad6..26f3e44 100644
--- a/man/zip_ftell.html
+++ b/man/zip_ftell.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_FTELL(3)</title>
</head>
@@ -52,38 +46,39 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_ftell</b> — <span class="Nd" title="Nd">tell
- position in file</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_ftell</code> —
+<div class="Nd" title="Nd">tell position in file</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_ftell</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
+<code class="Fn" title="Fn">zip_ftell</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_file_t
*file</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_ftell</b>() function reports the current offset
- in the file.
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_ftell</code>() function reports the current
+ offset in the file.
<div class="Pp"></div>
-<b class="Nm" title="Nm">zip_ftell</b> only works on uncompressed (stored) data.
- When called on compressed data it will return an error.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<code class="Nm" title="Nm">zip_ftell</code> only works on uncompressed (stored)
+ data. When called on compressed data it will return an error.
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-If successful, <b class="Nm" title="Nm">zip_ftell</b> returns the current file
- position. Otherwise, -1 is returned.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+If successful, <code class="Nm" title="Nm">zip_ftell</code> returns the current
+ file position. Otherwise, -1 is returned.
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_fclose.html">zip_fclose(3)</a>,
<a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a>,
<a class="Xr" title="Xr" href="zip_fread.html">zip_fread(3)</a>,
<a class="Xr" title="Xr" href="zip_fseek.html">zip_fseek(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_ftell</b>() was added in libzip 1.2.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_ftell</code>() was added in libzip 1.2.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -91,7 +86,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_get_archive_comment.html b/man/zip_get_archive_comment.html
index d6dc11c..3b27588 100644
--- a/man/zip_get_archive_comment.html
+++ b/man/zip_get_archive_comment.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_GET_ARCHIVE_COMMENT(3)</title>
</head>
@@ -52,26 +46,27 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_get_archive_comment</b> —
- <span class="Nd" title="Nd">get zip archive comment</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_get_archive_comment</code> —
+<div class="Nd" title="Nd">get zip archive comment</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">const char *</var>
<br/>
-<b class="Fn" title="Fn">zip_get_archive_comment</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_get_archive_comment</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
*lenp</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_get_archive_comment</b>() function returns the
- comment for the entire zip archive. The name is in UTF-8 encoding unless
- <code class="Dv" title="Dv">ZIP_FL_ENC_RAW</code> was specified (see below).
- This pointer should not be modified or
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_get_archive_comment</code>() function
+ returns the comment for the entire zip archive. The name is in UTF-8 encoding
+ unless <code class="Dv" title="Dv">ZIP_FL_ENC_RAW</code> was specified (see
+ below). This pointer should not be modified or
<a class="Xr" title="Xr" href="free.html">free(3)</a>'d, and becomes invalid
when <var class="Ar" title="Ar">archive</var> is closed. If
<var class="Ar" title="Ar">lenp</var> is not
@@ -84,39 +79,38 @@
supported:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 25.80ex;">
- <dt class="It-tag" style="margin-left: -25.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"><a class="selflink" href="#ZIP_FL_ENC_RAW"><code class="Dv" title="Dv" id="ZIP_FL_ENC_RAW">ZIP_FL_ENC_RAW</code></a></dt>
- <dd class="It-tag">Return the unmodified archive comment as it is in the ZIP
- archive.</dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"><a class="selflink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
- <dd class="It-tag">(Default.) Guess the encoding of the archive comment in the
- ZIP archive and convert it to UTF-8, if necessary.</dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"><a class="selflink" href="#ZIP_FL_ENC_STRICT"><code class="Dv" title="Dv" id="ZIP_FL_ENC_STRICT">ZIP_FL_ENC_STRICT</code></a></dt>
- <dd class="It-tag">Follow the ZIP specification for file names and extend it
- to the archive comment, thus also expecting it in CP-437 encoding. Convert
- it to UTF-8.</dd>
+ <dt style="margin-left: -25.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -25.80ex;"><a class="permalink" href="#ZIP_FL_ENC_RAW"><code class="Dv" title="Dv" id="ZIP_FL_ENC_RAW">ZIP_FL_ENC_RAW</code></a></dt>
+ <dd>Return the unmodified archive comment as it is in the ZIP archive.</dd>
+ <dt style="margin-left: -25.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -25.80ex;"><a class="permalink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
+ <dd>(Default.) Guess the encoding of the archive comment in the ZIP archive
+ and convert it to UTF-8, if necessary.</dd>
+ <dt style="margin-left: -25.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -25.80ex;"><a class="permalink" href="#ZIP_FL_ENC_STRICT"><code class="Dv" title="Dv" id="ZIP_FL_ENC_STRICT">ZIP_FL_ENC_STRICT</code></a></dt>
+ <dd>Follow the ZIP specification for file names and extend it to the archive
+ comment, thus also expecting it in CP-437 encoding. Convert it to
+ UTF-8.</dd>
</dl>
</div>
<i class="Em" title="Em">Note</i>: ASCII is a subset of both CP-437 and UTF-8.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, a pointer to the comment is returned, or
<code class="Dv" title="Dv">NULL</code> if there is no comment.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_get_file_comment.html">zip_get_file_comment(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_get_archive_comment</b>() was added in libzip 0.7.
- In libzip 0.11 the type of <var class="Ar" title="Ar">flags</var> was changed
- from <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_get_archive_comment</code>() was added in libzip
+ 0.7. In libzip 0.11 the type of <var class="Ar" title="Ar">flags</var> was
+ changed from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_flags_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -124,7 +118,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_get_archive_flag.html b/man/zip_get_archive_flag.html
index 833c83d..c0f247d 100644
--- a/man/zip_get_archive_flag.html
+++ b/man/zip_get_archive_flag.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_GET_ARCHIVE_FLAG(3)</title>
</head>
@@ -52,56 +46,58 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_get_archive_flag</b> —
- <span class="Nd" title="Nd">get status flags for zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_get_archive_flag</code> —
+<div class="Nd" title="Nd">get status flags for zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_get_archive_flag</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_get_archive_flag</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flag</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_get_archive_flag</b>() function returns if the
- flag <var class="Ar" title="Ar">flag</var> is set for the archive
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_get_archive_flag</code>() function returns
+ if the flag <var class="Ar" title="Ar">flag</var> is set for the archive
<var class="Ar" title="Ar">archive</var>. The archive flags might have been
- changed with <b class="Fn" title="Fn">zip_set_archive_flag</b>(); if
+ changed with <code class="Fn" title="Fn">zip_set_archive_flag</code>(); if
<var class="Ar" title="Ar">flags</var> is set to
<code class="Dv" title="Dv">ZIP_FL_UNCHANGED</code>, the original unchanged
flags are tested.
<div class="Pp"></div>
Supported flags are:
<dl class="Bl-tag" style="margin-left: 24.60ex;">
- <dt class="It-tag" style="margin-left: -24.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -24.60ex;"><a class="selflink" href="#ZIP_AFL_RDONLY"><code class="Dv" title="Dv" id="ZIP_AFL_RDONLY">ZIP_AFL_RDONLY</code></a></dt>
- <dd class="It-tag">The archive is read-only.</dd>
+ <dt style="margin-left: -24.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -24.60ex;"><a class="permalink" href="#ZIP_AFL_RDONLY"><code class="Dv" title="Dv" id="ZIP_AFL_RDONLY">ZIP_AFL_RDONLY</code></a></dt>
+ <dd>The archive is read-only.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-<b class="Fn" title="Fn">zip_get_archive_flag</b>() returns 1 if
+<code class="Fn" title="Fn">zip_get_archive_flag</code>() returns 1 if
<var class="Ar" title="Ar">flag</var> is set for
<var class="Ar" title="Ar">archive</var>, 0 if not, and -1 if an error
occurred.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_set_archive_flag.html">zip_set_archive_flag(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_get_archive_flag</b>() was added in libzip 0.9. In
- libzip 0.11 the type of <var class="Ar" title="Ar">flag</var> was changed from
- <var class="Vt" title="Vt">int</var> to <var class="Vt" title="Vt">zip_flags_t
- m</var> and the type of <var class="Ar" title="Ar">flags</var> was changed
- from <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_get_archive_flag</code>() was added in libzip
+ 0.9. In libzip 0.11 the type of <var class="Ar" title="Ar">flag</var> was
+ changed from <var class="Vt" title="Vt">int</var> to
+ <var class="Vt" title="Vt">zip_flags_t m</var> and the type of
+ <var class="Ar" title="Ar">flags</var> was changed from
+ <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_flags_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -109,7 +105,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_get_error.html b/man/zip_get_error.html
index 048c8ff..9756b5b 100644
--- a/man/zip_get_error.html
+++ b/man/zip_get_error.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_GET_ERROR(3)</title>
</head>
@@ -52,29 +46,30 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_get_error</b> —
- <span class="Nd" title="Nd">get zip error for archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_get_error</code> —
+<div class="Nd" title="Nd">get zip error for archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_error_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_get_error</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_get_error</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_get_error</b>() function returns the zip error
- for the zip archive <var class="Ar" title="Ar">archive</var>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_get_error</code>() function returns the zip
+ error for the zip archive <var class="Ar" title="Ar">archive</var>.
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_code_system.html">zip_error_code_system(3)</a>,
<a class="Xr" title="Xr" href="zip_error_code_zip.html">zip_error_code_zip(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_get_error</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_get_error</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -82,7 +77,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_get_file_comment.html b/man/zip_get_file_comment.html
index 4e6b52f..be26243 100644
--- a/man/zip_get_file_comment.html
+++ b/man/zip_get_file_comment.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_GET_FILE_COMMENT(3)</title>
</head>
@@ -52,41 +46,42 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_get_file_comment</b> —
- <span class="Nd" title="Nd">get comment for file in zip (obsolete
- interface)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_get_file_comment</code> —
+<div class="Nd" title="Nd">get comment for file in zip (obsolete
+ interface)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">const char *</var>
<br/>
-<b class="Fn" title="Fn">zip_get_file_comment</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_get_file_comment</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
*lenp</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_get_file_comment</b>() function is the obsolete
- version of
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_get_file_comment</code>() function is the
+ obsolete version of
<a class="Xr" title="Xr" href="zip_file_get_comment.html">zip_file_get_comment(3)</a>.
The only differences are the types of the
<var class="Ar" title="Ar">lenp</var> and
<var class="Ar" title="Ar">flags</var> arguments.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_get_comment.html">zip_file_get_comment(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_get_file_comment</b>() was added in libzip 0.7. In
- libzip 0.10 the type of <var class="Ar" title="Ar">index</var> was changed
- from <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_get_file_comment</code>() was added in libzip
+ 0.7. In libzip 0.10 the type of <var class="Ar" title="Ar">index</var> was
+ changed from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_uint64_t</var>. It was deprecated in libzip
- 0.11, use <b class="Fn" title="Fn">zip_file_get_comment</b>() instead.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+ 0.11, use <code class="Fn" title="Fn">zip_file_get_comment</code>() instead.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -94,7 +89,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_get_name.html b/man/zip_get_name.html
index a3bff5c..3abb964 100644
--- a/man/zip_get_name.html
+++ b/man/zip_get_name.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_GET_NAME(3)</title>
</head>
@@ -52,25 +46,26 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_get_name</b> —
- <span class="Nd" title="Nd">get name of file by index</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_get_name</code> —
+<div class="Nd" title="Nd">get name of file by index</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">const char *</var>
<br/>
-<b class="Fn" title="Fn">zip_get_name</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_get_name</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_get_name</b>() function returns the name of the
- file at position <var class="Ar" title="Ar">index</var> in
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_get_name</code>() function returns the name
+ of the file at position <var class="Ar" title="Ar">index</var> in
<var class="Ar" title="Ar">archive</var>. The name is in UTF-8 encoding unless
<code class="Dv" title="Dv">ZIP_FL_ENC_RAW</code> was specified (see below).
<div class="Pp"></div>
@@ -83,64 +78,63 @@
supported:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 25.80ex;">
- <dt class="It-tag" style="margin-left: -25.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"><a class="selflink" href="#ZIP_FL_ENC_RAW"><code class="Dv" title="Dv" id="ZIP_FL_ENC_RAW">ZIP_FL_ENC_RAW</code></a></dt>
- <dd class="It-tag">Return the unmodified names as it is in the ZIP
- archive.</dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"><a class="selflink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
- <dd class="It-tag">(Default.) Guess the encoding of the name in the ZIP
- archive and convert it to UTF-8, if necessary.</dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -25.80ex;"><a class="selflink" href="#ZIP_FL_ENC_STRICT"><code class="Dv" title="Dv" id="ZIP_FL_ENC_STRICT">ZIP_FL_ENC_STRICT</code></a></dt>
- <dd class="It-tag">Follow the ZIP specification and expect CP-437 encoded
- names in the ZIP archive (except if they are explicitly marked as UTF-8).
- Convert it to UTF-8.</dd>
+ <dt style="margin-left: -25.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -25.80ex;"><a class="permalink" href="#ZIP_FL_ENC_RAW"><code class="Dv" title="Dv" id="ZIP_FL_ENC_RAW">ZIP_FL_ENC_RAW</code></a></dt>
+ <dd>Return the unmodified names as it is in the ZIP archive.</dd>
+ <dt style="margin-left: -25.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -25.80ex;"><a class="permalink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
+ <dd>(Default.) Guess the encoding of the name in the ZIP archive and convert
+ it to UTF-8, if necessary.</dd>
+ <dt style="margin-left: -25.80ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -25.80ex;"><a class="permalink" href="#ZIP_FL_ENC_STRICT"><code class="Dv" title="Dv" id="ZIP_FL_ENC_STRICT">ZIP_FL_ENC_STRICT</code></a></dt>
+ <dd>Follow the ZIP specification and expect CP-437 encoded names in the ZIP
+ archive (except if they are explicitly marked as UTF-8). Convert it to
+ UTF-8.</dd>
</dl>
</div>
<i class="Em" title="Em">Note</i>: ASCII is a subset of both CP-437 and UTF-8.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, a pointer to the name is returned. Otherwise,
<code class="Dv" title="Dv">NULL</code> and the error code in
<var class="Ar" title="Ar">archive</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_get_name</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_get_name</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_DELETED"><code class="Er" title="Er" id="ZIP_ER_DELETED">ZIP_ER_DELETED</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> refers to a file
- that has been deleted (see
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_DELETED"><code class="Er" title="Er" id="ZIP_ER_DELETED">ZIP_ER_DELETED</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> refers to a file that has been
+ deleted (see
<a class="Xr" title="Xr" href="zip_delete.html">zip_delete(3)</a>).</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>, or
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>, or
<var class="Ar" title="Ar">index</var> points to an added file and
<code class="Dv" title="Dv">ZIP_FL_UNCHANGED</code> is set.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_name_locate.html">zip_name_locate(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_get_name</b>() was added in libzip 0.6. In libzip
- 0.10 the type of <var class="Ar" title="Ar">index</var> was changed from
- <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_get_name</code>() was added in libzip 0.6. In
+ libzip 0.10 the type of <var class="Ar" title="Ar">index</var> was changed
+ from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_uint64_t</var>. In libzip 0.11 the type of
<var class="Ar" title="Ar">flags</var> was changed from
<var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_flags_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -148,7 +142,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_get_num_entries.html b/man/zip_get_num_entries.html
index 982eb4c..11ef3be 100644
--- a/man/zip_get_num_entries.html
+++ b/man/zip_get_num_entries.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_GET_NUM_ENTRIES(3)</title>
</head>
@@ -52,45 +46,46 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_get_num_entries</b> —
- <span class="Nd" title="Nd">get number of files in archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_get_num_entries</code> —
+<div class="Nd" title="Nd">get number of files in archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_get_num_entries</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_get_num_entries</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_get_num_entries</b>() function returns the
- number of files in <var class="Ar" title="Ar">archive</var>. If
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_get_num_entries</code>() function returns
+ the number of files in <var class="Ar" title="Ar">archive</var>. If
<var class="Ar" title="Ar">flags</var> is set to
<code class="Dv" title="Dv">ZIP_FL_UNCHANGED</code>, the original number of
entries is returned.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-<b class="Fn" title="Fn">zip_get_num_entries</b>() returns the number of files
- in the zip archive, or -1 if <var class="Ar" title="Ar">archive</var> is
+<code class="Fn" title="Fn">zip_get_num_entries</code>() returns the number of
+ files in the zip archive, or -1 if <var class="Ar" title="Ar">archive</var> is
<code class="Dv" title="Dv">NULL</code>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_fopen_index.html">zip_fopen_index(3)</a>,
<a class="Xr" title="Xr" href="zip_stat_index.html">zip_stat_index(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_get_num_entries</b>() was added in libzip 0.10. In
- libzip 0.11 the return type was changed from
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_get_num_entries</code>() was added in libzip
+ 0.10. In libzip 0.11 the return type was changed from
<var class="Vt" title="Vt">zip_uint64_t</var> to
<var class="Vt" title="Vt">zip_int64_t</var>. In libzip 0.11 the type of
<var class="Ar" title="Ar">flags</var> was changed from
<var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_flags_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -98,7 +93,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_get_num_files.html b/man/zip_get_num_files.html
index be04ae6..488dfe7 100644
--- a/man/zip_get_num_files.html
+++ b/man/zip_get_num_files.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_GET_NUM_FILES(3)</title>
</head>
@@ -52,43 +46,44 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_get_num_files</b> —
- <span class="Nd" title="Nd">get number of files in archive (obsolete
- interface)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_get_num_files</code> —
+<div class="Nd" title="Nd">get number of files in archive (obsolete
+ interface)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_get_num_files</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_get_num_files</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<i class="Em" title="Em">This function is deprecated</i>.
<i class="Em" title="Em">Use</i>
<a class="Xr" title="Xr" href="zip_get_num_entries.html">zip_get_num_entries(3)</a>
<i class="Em" title="Em">instead</i>.
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_get_num_files</b>() function returns the number
- of files in <var class="Ar" title="Ar">archive</var>.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+The <code class="Fn" title="Fn">zip_get_num_files</code>() function returns the
+ number of files in <var class="Ar" title="Ar">archive</var>.
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-<b class="Fn" title="Fn">zip_get_num_files</b>() returns the number of files in
- the zip archive, or -1 if <var class="Ar" title="Ar">archive</var> is
+<code class="Fn" title="Fn">zip_get_num_files</code>() returns the number of
+ files in the zip archive, or -1 if <var class="Ar" title="Ar">archive</var> is
<code class="Dv" title="Dv">NULL</code>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_fopen_index.html">zip_fopen_index(3)</a>,
<a class="Xr" title="Xr" href="zip_stat_index.html">zip_stat_index(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_get_num_files</b>() was added in libzip 0.6. It was
- deprecated in libzip 0.11, use
- <b class="Fn" title="Fn">zip_get_num_entries</b>(<var class="Fa" title="Fa">instead</var>)
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_get_num_files</code>() was added in libzip 0.6.
+ It was deprecated in libzip 0.11, use
+ <code class="Fn" title="Fn">zip_get_num_entries</code>(<var class="Fa" title="Fa">instead</var>)
instead.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -96,7 +91,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_libzip_version.html b/man/zip_libzip_version.html
index 108661b..467fc18 100644
--- a/man/zip_libzip_version.html
+++ b/man/zip_libzip_version.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_LIBZIP_VERSION(3)</title>
</head>
@@ -52,32 +46,34 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_libzip_version</b> —
- <span class="Nd" title="Nd">return run-time version of library</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_libzip_version</code> —
+<div class="Nd" title="Nd">return run-time version of library</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">const char *</var>
<br/>
-<b class="Fn" title="Fn">zip_libzip_version</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">void</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<b class="Nm" title="Nm">zip_libzip_version</b> returns the version number of
- the library as string in the format
+<code class="Fn" title="Fn">zip_libzip_version</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">void</var>);
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<code class="Nm" title="Nm">zip_libzip_version</code> returns the version number
+ of the library as string in the format
“$MAJOR.$MINOR.$MICRO$SUFFIX” where
<var class="Ar" title="Ar">$MAJOR</var> is the major version,
<var class="Ar" title="Ar">$MINOR</var> the minor,
<var class="Ar" title="Ar">$MICRO</var> the micro, and
<var class="Ar" title="Ar">$SUFFIX</var> a suffix that's only set for
development versions.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_libzip_version</b>() was added in libzip 1.3.1.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_libzip_version</code>() was added in libzip
+ 1.3.1.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -85,7 +81,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_name_locate.html b/man/zip_name_locate.html
index a18e66b..2d9246e 100644
--- a/man/zip_name_locate.html
+++ b/man/zip_name_locate.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_NAME_LOCATE(3)</title>
</head>
@@ -52,24 +46,25 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_name_locate</b> —
- <span class="Nd" title="Nd">get index of file by name</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_name_locate</code> —
+<div class="Nd" title="Nd">get index of file by name</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_name_locate</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_name_locate</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *fname</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_name_locate</b>() function returns the index of
- the file named <var class="Ar" title="Ar">fname</var> in
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_name_locate</code>() function returns the
+ index of the file named <var class="Ar" title="Ar">fname</var> in
<var class="Ar" title="Ar">archive</var>. If
<var class="Ar" title="Ar">archive</var> does not contain a file with that
name, -1 is returned. The <var class="Fa" title="Fa">flags</var> are specified
@@ -77,74 +72,73 @@
values, or 0 for none of them.
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 18.60ex;">
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_FL_NOCASE"><code class="Dv" title="Dv" id="ZIP_FL_NOCASE">ZIP_FL_NOCASE</code></a></dt>
- <dd class="It-tag">Ignore case distinctions. (Will only work well if the file
- names are ASCII.) With this flag,
- <b class="Fn" title="Fn">zip_name_locate</b>() will be slow for archives
- with many files.</dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_FL_NODIR"><code class="Dv" title="Dv" id="ZIP_FL_NODIR">ZIP_FL_NODIR</code></a></dt>
- <dd class="It-tag">Ignore directory part of file name in archive. With this
- flag, <b class="Fn" title="Fn">zip_name_locate</b>() will be slow for
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_FL_NOCASE"><code class="Dv" title="Dv" id="ZIP_FL_NOCASE">ZIP_FL_NOCASE</code></a></dt>
+ <dd>Ignore case distinctions. (Will only work well if the file names are
+ ASCII.) With this flag,
+ <code class="Fn" title="Fn">zip_name_locate</code>() will be slow for
archives with many files.</dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_FL_ENC_RAW"><code class="Dv" title="Dv" id="ZIP_FL_ENC_RAW">ZIP_FL_ENC_RAW</code></a></dt>
- <dd class="It-tag">Compare against the unmodified names as it is in the ZIP
- archive.</dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
- <dd class="It-tag">(Default.) Guess the encoding of the name in the ZIP
- archive and convert it to UTF-8, if necessary, before comparing.</dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_FL_ENC_STRICT"><code class="Dv" title="Dv" id="ZIP_FL_ENC_STRICT">ZIP_FL_ENC_STRICT</code></a></dt>
- <dd class="It-tag">Follow the ZIP specification and expect CP-437 encoded
- names in the ZIP archive (except if they are explicitly marked as UTF-8).
- Convert it to UTF-8 before comparing.</dd>
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_FL_NODIR"><code class="Dv" title="Dv" id="ZIP_FL_NODIR">ZIP_FL_NODIR</code></a></dt>
+ <dd>Ignore directory part of file name in archive. With this flag,
+ <code class="Fn" title="Fn">zip_name_locate</code>() will be slow for
+ archives with many files.</dd>
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_FL_ENC_RAW"><code class="Dv" title="Dv" id="ZIP_FL_ENC_RAW">ZIP_FL_ENC_RAW</code></a></dt>
+ <dd>Compare against the unmodified names as it is in the ZIP archive.</dd>
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_FL_ENC_GUESS"><code class="Dv" title="Dv" id="ZIP_FL_ENC_GUESS">ZIP_FL_ENC_GUESS</code></a></dt>
+ <dd>(Default.) Guess the encoding of the name in the ZIP archive and convert
+ it to UTF-8, if necessary, before comparing.</dd>
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_FL_ENC_STRICT"><code class="Dv" title="Dv" id="ZIP_FL_ENC_STRICT">ZIP_FL_ENC_STRICT</code></a></dt>
+ <dd>Follow the ZIP specification and expect CP-437 encoded names in the ZIP
+ archive (except if they are explicitly marked as UTF-8). Convert it to
+ UTF-8 before comparing.</dd>
</dl>
</div>
<i class="Em" title="Em">Note</i>: ASCII is a subset of both CP-437 and UTF-8.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-<b class="Fn" title="Fn">zip_name_locate</b>() returns the index of the file
- named <var class="Ar" title="Ar">fname</var> or -1, if
+<code class="Fn" title="Fn">zip_name_locate</code>() returns the index of the
+ file named <var class="Ar" title="Ar">fname</var> or -1, if
<var class="Ar" title="Ar">archive</var> does not contain an entry of that
name.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_name_locate</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_name_locate</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag">One of the arguments is invalid.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
- <dd class="It-tag">No entry of the name <var class="Ar" title="Ar">fname</var>
- is found in the archive.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd>One of the arguments is invalid.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
+ <dd>No entry of the name <var class="Ar" title="Ar">fname</var> is found in
+ the archive.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_get_name.html">zip_get_name(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_name_locate</b>() was added in libzip 0.6. In
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_name_locate</code>() was added in libzip 0.6. In
libzip 0.11 the return type was changed from
<var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_int64_t</var>. In libzip 0.11 the type of
<var class="Ar" title="Ar">flags</var> was changed from
<var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_flags_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -152,7 +146,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_open.html b/man/zip_open.html
index 34d10e5..6f53832 100644
--- a/man/zip_open.html
+++ b/man/zip_open.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_OPEN(3)</title>
</head>
@@ -52,31 +46,32 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_open</b>,
- <b class="Nm" title="Nm">zip_open_from_source</b> —
- <span class="Nd" title="Nd">open zip archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_open</code>,
+ <code class="Nm" title="Nm">zip_open_from_source</code> —
+<div class="Nd" title="Nd">open zip archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_open</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
+<code class="Fn" title="Fn">zip_open</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
char *path</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
flags</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
*errorp</var>);
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_open_from_source</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_open_from_source</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*zs</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
flags</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*ze</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_open</b>() function opens the zip archive
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_open</code>() function opens the zip archive
specified by <var class="Ar" title="Ar">path</var> and returns a pointer to a
<var class="Ft" title="Ft">struct zip</var>, used to manipulate the archive.
The <var class="Fa" title="Fa">flags</var> are specified by
@@ -84,28 +79,28 @@
values, or 0 for none of them.
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 18.60ex;">
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_CHECKCONS"><code class="Dv" title="Dv" id="ZIP_CHECKCONS">ZIP_CHECKCONS</code></a></dt>
- <dd class="It-tag">Perform additional stricter consistency checks on the
- archive, and error if they fail.</dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_CREATE"><code class="Dv" title="Dv" id="ZIP_CREATE">ZIP_CREATE</code></a></dt>
- <dd class="It-tag">Create the archive if it does not exist.</dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_EXCL"><code class="Dv" title="Dv" id="ZIP_EXCL">ZIP_EXCL</code></a></dt>
- <dd class="It-tag">Error if archive already exists.</dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_TRUNCATE"><code class="Dv" title="Dv" id="ZIP_TRUNCATE">ZIP_TRUNCATE</code></a></dt>
- <dd class="It-tag">If archive exists, ignore its current contents. In other
- words, handle it the same way as an empty archive.</dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -18.60ex;"><a class="selflink" href="#ZIP_RDONLY"><code class="Dv" title="Dv" id="ZIP_RDONLY">ZIP_RDONLY</code></a></dt>
- <dd class="It-tag">Open archive in read-only mode.</dd>
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_CHECKCONS"><code class="Dv" title="Dv" id="ZIP_CHECKCONS">ZIP_CHECKCONS</code></a></dt>
+ <dd>Perform additional stricter consistency checks on the archive, and error
+ if they fail.</dd>
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_CREATE"><code class="Dv" title="Dv" id="ZIP_CREATE">ZIP_CREATE</code></a></dt>
+ <dd>Create the archive if it does not exist.</dd>
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_EXCL"><code class="Dv" title="Dv" id="ZIP_EXCL">ZIP_EXCL</code></a></dt>
+ <dd>Error if archive already exists.</dd>
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_TRUNCATE"><code class="Dv" title="Dv" id="ZIP_TRUNCATE">ZIP_TRUNCATE</code></a></dt>
+ <dd>If archive exists, ignore its current contents. In other words, handle it
+ the same way as an empty archive.</dd>
+ <dt style="margin-left: -18.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -18.60ex;"><a class="permalink" href="#ZIP_RDONLY"><code class="Dv" title="Dv" id="ZIP_RDONLY">ZIP_RDONLY</code></a></dt>
+ <dd>Open archive in read-only mode.</dd>
</dl>
</div>
<div class="Pp"></div>
@@ -113,81 +108,81 @@
non-<code class="Dv" title="Dv">NULL</code>, it will be set to the
corresponding error code.
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_open_from_source</b>() function opens a zip
- archive encapsulated by the zip_source <var class="Fa" title="Fa">zs</var>
+The <code class="Fn" title="Fn">zip_open_from_source</code>() function opens a
+ zip archive encapsulated by the zip_source <var class="Fa" title="Fa">zs</var>
using the provided <var class="Fa" title="Fa">flags</var>. In case of error,
the zip_error <var class="Fa" title="Fa">ze</var> is filled in.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-Upon successful completion <b class="Fn" title="Fn">zip_open</b>() and
- <b class="Fn" title="Fn">zip_open_from_source</b>() return a
+Upon successful completion <code class="Fn" title="Fn">zip_open</code>() and
+ <code class="Fn" title="Fn">zip_open_from_source</code>() return a
<var class="Ft" title="Ft">struct zip</var> pointer. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and
- <b class="Fn" title="Fn">zip_open</b>() sets
+ <code class="Fn" title="Fn">zip_open</code>() sets
<var class="Ar" title="Ar">*errorp</var> to indicate the error, while
- <b class="Fn" title="Fn">zip_open_from</b>(<var class="Fa" title="Fa">source</var>)
+ <code class="Fn" title="Fn">zip_open_from</code>(<var class="Fa" title="Fa">source</var>)
sets <var class="Ar" title="Ar">ze</var> to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
The archive specified by <var class="Ar" title="Ar">path</var> is opened unless:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_EXISTS"><code class="Er" title="Er" id="ZIP_ER_EXISTS">ZIP_ER_EXISTS</code></a>]</dt>
- <dd class="It-tag">The file specified by <var class="Ar" title="Ar">path</var>
- exists and <code class="Dv" title="Dv">ZIP_EXCL</code> is set.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INCONS"><code class="Er" title="Er" id="ZIP_ER_INCONS">ZIP_ER_INCONS</code></a>]</dt>
- <dd class="It-tag">Inconsistencies were found in the file specified by
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_EXISTS"><code class="Er" title="Er" id="ZIP_ER_EXISTS">ZIP_ER_EXISTS</code></a>]</dt>
+ <dd>The file specified by <var class="Ar" title="Ar">path</var> exists and
+ <code class="Dv" title="Dv">ZIP_EXCL</code> is set.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INCONS"><code class="Er" title="Er" id="ZIP_ER_INCONS">ZIP_ER_INCONS</code></a>]</dt>
+ <dd>Inconsistencies were found in the file specified by
<var class="Ar" title="Ar">path</var>. This error is often caused by
specifying <code class="Dv" title="Dv">ZIP_CHECKCONS</code> but can also
happen without it.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag">The <var class="Ar" title="Ar">path</var> argument is
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd>The <var class="Ar" title="Ar">path</var> argument is
<code class="Dv" title="Dv">NULL</code>.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
- <dd class="It-tag">The file specified by <var class="Ar" title="Ar">path</var>
- does not exist and <code class="Dv" title="Dv">ZIP_CREATE</code> is not
- set.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_NOZIP"><code class="Er" title="Er" id="ZIP_ER_NOZIP">ZIP_ER_NOZIP</code></a>]</dt>
- <dd class="It-tag">The file specified by <var class="Ar" title="Ar">path</var>
- is not a zip archive.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
- <dd class="It-tag">The file specified by <var class="Ar" title="Ar">path</var>
- could not be opened.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_READ"><code class="Er" title="Er" id="ZIP_ER_READ">ZIP_ER_READ</code></a>]</dt>
- <dd class="It-tag">A read error occurred; see
- <var class="Va" title="Va">errno</var> for details.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_SEEK"><code class="Er" title="Er" id="ZIP_ER_SEEK">ZIP_ER_SEEK</code></a>]</dt>
- <dd class="It-tag">The file specified by <var class="Ar" title="Ar">path</var>
- does not allow seeks.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_NOENT"><code class="Er" title="Er" id="ZIP_ER_NOENT">ZIP_ER_NOENT</code></a>]</dt>
+ <dd>The file specified by <var class="Ar" title="Ar">path</var> does not exist
+ and <code class="Dv" title="Dv">ZIP_CREATE</code> is not set.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_NOZIP"><code class="Er" title="Er" id="ZIP_ER_NOZIP">ZIP_ER_NOZIP</code></a>]</dt>
+ <dd>The file specified by <var class="Ar" title="Ar">path</var> is not a zip
+ archive.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
+ <dd>The file specified by <var class="Ar" title="Ar">path</var> could not be
+ opened.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_READ"><code class="Er" title="Er" id="ZIP_ER_READ">ZIP_ER_READ</code></a>]</dt>
+ <dd>A read error occurred; see <var class="Va" title="Va">errno</var> for
+ details.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_SEEK"><code class="Er" title="Er" id="ZIP_ER_SEEK">ZIP_ER_SEEK</code></a>]</dt>
+ <dd>The file specified by <var class="Ar" title="Ar">path</var> does not allow
+ seeks.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a>,
<a class="Xr" title="Xr" href="zip_error_to_str.html">zip_error_to_str(3)</a>,
<a class="Xr" title="Xr" href="zip_fdopen.html">zip_fdopen(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_open</b>() and
- <b class="Fn" title="Fn">zip_open_from_source</b>() were added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_open</code>() and
+ <code class="Fn" title="Fn">zip_open_from_source</code>() were added in libzip
+ 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -195,7 +190,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_register_progress_callback.html b/man/zip_register_progress_callback.html
index d2b2496..a2601a9 100644
--- a/man/zip_register_progress_callback.html
+++ b/man/zip_register_progress_callback.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_REGISTER_PROGRESS_CALLBACK(3)</title>
</head>
@@ -52,30 +46,31 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_register_progress_callback</b> —
- <span class="Nd" title="Nd">provide updates during zip_close (obsolete
- interface)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_register_progress_callback</code> —
+<div class="Nd" title="Nd">provide updates during zip_close (obsolete
+ interface)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Vt" title="Vt">typedef void
(*zip_progress_callback_t)(double);</var>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_register_progress_callback</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_register_progress_callback</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_progress_callback_t
progress_callback</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_register_progress_callback</b>() is
- the obsolete version of
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_register_progress_callback</code>()
+ is the obsolete version of
<a class="Xr" title="Xr" href="zip_register_progress_callback_with_state.html">zip_register_progress_callback_with_state(3)</a>.
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_register_progress_callback</b>() function
+The <code class="Fn" title="Fn">zip_register_progress_callback</code>() function
registers a callback function
<var class="Ar" title="Ar">progress_callback</var> for the zip archive
<var class="Ar" title="Ar">archive</var>. This function is called during
@@ -83,16 +78,16 @@
zip archive entry that's completely written to disk. The value is a
<var class="Vt" title="Vt">double</var> in the range from 0.0 to 1.0. This can
be used to provide progress indicators for user interfaces.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_register_progress_callback</b>() was added in
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_register_progress_callback</code>() was added in
libzip 1.2.0. It was deprecated in libzip 1.3.0, use
- <b class="Fn" title="Fn">zip_register_progress_callback_with_state</b>()
+ <code class="Fn" title="Fn">zip_register_progress_callback_with_state</code>()
instead.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -100,7 +95,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_register_progress_callback_with_state.html b/man/zip_register_progress_callback_with_state.html
index 166d390..023a4da 100644
--- a/man/zip_register_progress_callback_with_state.html
+++ b/man/zip_register_progress_callback_with_state.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_REGISTER_PROGRESS_CALLBACK_WITH_STATE(3)</title>
</head>
@@ -52,28 +46,31 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_register_progress_callback_with_state</b> —
- <span class="Nd" title="Nd">provide updates during zip_close</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_register_progress_callback_with_state</code>
+ —
+<div class="Nd" title="Nd">provide updates during zip_close</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Vt" title="Vt">typedef void (*zip_progress_callback)(zip_t *,
double, void *);</var>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_register_progress_callback_with_state</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_register_progress_callback_with_state</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">double
precision</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_progress_callback
callback</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">void
(*ud_free)(void *)</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">void *ud</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_register_progress_callback_with_state</b>()
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The
+ <code class="Fn" title="Fn">zip_register_progress_callback_with_state</code>()
function registers a callback function
<var class="Ar" title="Ar">callback</var> for the zip archive
<var class="Ar" title="Ar">archive</var>. The
@@ -92,14 +89,14 @@
<var class="Ar" title="Ar">ud</var> as arguments. The progression state is a
<var class="Vt" title="Vt">double</var> in the range from 0.0 to 1.0. This can
be used to provide progress indicators for user interfaces.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_register_progress_callback_with_state</b>() was
- added in libzip 1.3.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_register_progress_callback_with_state</code>()
+ was added in libzip 1.3.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -107,7 +104,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_rename.html b/man/zip_rename.html
index ebcb6b0..17fe502 100644
--- a/man/zip_rename.html
+++ b/man/zip_rename.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_RENAME(3)</title>
</head>
@@ -52,39 +46,39 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_rename</b> —
- <span class="Nd" title="Nd">rename file in zip archive (obsolete
- interface)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_rename</code> —
+<div class="Nd" title="Nd">rename file in zip archive (obsolete interface)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_rename</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_rename</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *name</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<b class="Fn" title="Fn">zip_rename</b>() is the obsolete version of
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<code class="Fn" title="Fn">zip_rename</code>() is the obsolete version of
<a class="Xr" title="Xr" href="zip_file_rename.html">zip_file_rename(3)</a>.
It is the same as calling
<a class="Xr" title="Xr" href="zip_file_rename.html">zip_file_rename(3)</a>
with an empty flags argument.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_rename.html">zip_file_rename(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_rename</b>() was added in libzip 0.6. In libzip
- 0.10 the type of <var class="Ar" title="Ar">index</var> was changed from
- <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_rename</code>() was added in libzip 0.6. In
+ libzip 0.10 the type of <var class="Ar" title="Ar">index</var> was changed
+ from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_uint64_t</var>. It was deprecated in libzip
- 0.11, use <b class="Fn" title="Fn">zip_file_rename</b>() instead.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+ 0.11, use <code class="Fn" title="Fn">zip_file_rename</code>() instead.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -92,7 +86,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_set_archive_comment.html b/man/zip_set_archive_comment.html
index 53aff85..69e3a53 100644
--- a/man/zip_set_archive_comment.html
+++ b/man/zip_set_archive_comment.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SET_ARCHIVE_COMMENT(3)</title>
</head>
@@ -52,61 +46,62 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_set_archive_comment</b> —
- <span class="Nd" title="Nd">set zip archive comment</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_set_archive_comment</code> —
+<div class="Nd" title="Nd">set zip archive comment</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_set_archive_comment</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_set_archive_comment</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *comment</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint16_t
len</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_set_archive_comment</b>() function sets the
- comment for the entire zip archive. If
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_set_archive_comment</code>() function sets
+ the comment for the entire zip archive. If
<var class="Ar" title="Ar">comment</var> is
<code class="Dv" title="Dv">NULL</code> and
<var class="Ar" title="Ar">len</var> is 0, the archive comment will be
removed. <var class="Ar" title="Ar">comment</var> must be encoded in ASCII or
UTF-8.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">archive</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_set_archive_comment</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_set_archive_comment</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">len</var> is less than 0 or
- longer than the maximum comment length in a zip file (65535), or
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">len</var> is less than 0 or longer than the
+ maximum comment length in a zip file (65535), or
<var class="Ar" title="Ar">comment</var> is not a valid UTF-8 encoded
string.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_get_archive_comment.html">zip_get_archive_comment(3)</a>,
<a class="Xr" title="Xr" href="zip_get_file_comment.html">zip_get_file_comment(3)</a>,
<a class="Xr" title="Xr" href="zip_set_file_comment.html">zip_set_file_comment(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_set_archive_comment</b>() was added in libzip 0.7.
- In libzip 0.11 the type of <var class="Ar" title="Ar">len</var> was changed
- from <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_set_archive_comment</code>() was added in libzip
+ 0.7. In libzip 0.11 the type of <var class="Ar" title="Ar">len</var> was
+ changed from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_uint16_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -114,7 +109,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_set_archive_flag.html b/man/zip_set_archive_flag.html
index 0574f4a..a876f80 100644
--- a/man/zip_set_archive_flag.html
+++ b/man/zip_set_archive_flag.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SET_ARCHIVE_FLAG(3)</title>
</head>
@@ -52,41 +46,42 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_set_archive_flag</b> —
- <span class="Nd" title="Nd">set zip archive flag</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_set_archive_flag</code> —
+<div class="Nd" title="Nd">set zip archive flag</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_set_archive_flag</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_set_archive_flag</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flag</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
value</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_set_archive_flag</b>() function sets the flag
- <var class="Ar" title="Ar">flag</var> for the archive
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_set_archive_flag</code>() function sets the
+ flag <var class="Ar" title="Ar">flag</var> for the archive
<var class="Ar" title="Ar">archive</var> to the value
<var class="Ar" title="Ar">value</var>.
<div class="Pp"></div>
Currently there are no supported flags.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned, and -1 if an error occurred.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_get_archive_flag.html">zip_get_archive_flag(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_set_archive_flag</b>() was added in libzip 0.9. In
- libzip 0.11 the type of <var class="Ar" title="Ar">flag</var> was changed from
- <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_set_archive_flag</code>() was added in libzip
+ 0.9. In libzip 0.11 the type of <var class="Ar" title="Ar">flag</var> was
+ changed from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_flags_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -94,7 +89,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_set_default_password.html b/man/zip_set_default_password.html
index cd2ed1c..fba4ccc 100644
--- a/man/zip_set_default_password.html
+++ b/man/zip_set_default_password.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SET_DEFAULT_PASSWORD(3)</title>
</head>
@@ -52,23 +46,23 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_set_default_password</b> —
- <span class="Nd" title="Nd">set default password for encrypted files in
- zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_set_default_password</code> —
+<div class="Nd" title="Nd">set default password for encrypted files in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_set_default_password</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_set_default_password</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *password</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_set_default_password</b>() function sets the
- default password used when accessing encrypted files. If
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_set_default_password</code>() function sets
+ the default password used when accessing encrypted files. If
<var class="Ar" title="Ar">password</var> is
<code class="Dv" title="Dv">NULL</code>, the default password is unset.
<div class="Pp"></div>
@@ -76,28 +70,28 @@
<a class="Xr" title="Xr" href="zip_fopen_encrypted.html">zip_fopen_encrypted(3)</a>
instead of <a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a>.
Usually, however, the same password is used for every file in an zip archive.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">archive</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_set_default_password</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_set_default_password</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_fopen.html">zip_fopen(3)</a>,
<a class="Xr" title="Xr" href="zip_fopen_encrypted.html">zip_fopen_encrypted(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_set_default_password</b>() was added in libzip
- 0.10.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_set_default_password</code>() was added in
+ libzip 0.10.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -105,7 +99,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_set_file_comment.html b/man/zip_set_file_comment.html
index 15cb2ad..46c845b 100644
--- a/man/zip_set_file_comment.html
+++ b/man/zip_set_file_comment.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SET_FILE_COMMENT(3)</title>
</head>
@@ -52,43 +46,45 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_set_file_comment</b> —
- <span class="Nd" title="Nd">set comment for file in zip (obsolete
- interface)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_set_file_comment</code> —
+<div class="Nd" title="Nd">set comment for file in zip (obsolete
+ interface)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_set_file_comment</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_set_file_comment</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *comment</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">int len</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_set_file_comment</b>() function is the obsolete
- version of
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_set_file_comment</code>() function is the
+ obsolete version of
<a class="Xr" title="Xr" href="zip_file_set_comment.html">zip_file_set_comment(3)</a>.
The only differences are the type of the <var class="Ar" title="Ar">len</var>
argument and the additional <var class="Ar" title="Ar">flags</var> argument.
- <b class="Fn" title="Fn">zip_set_file_comment</b>() is the same as calling
+ <code class="Fn" title="Fn">zip_set_file_comment</code>() is the same as
+ calling
<a class="Xr" title="Xr" href="zip_file_set_comment.html">zip_file_set_comment(3)</a>
with an empty <var class="Ar" title="Ar">flags</var> argument.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_file_set_comment.html">zip_file_set_comment(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_set_file_comment</b>() was added in libzip 0.7. In
- libzip 0.10 the type of <var class="Ar" title="Ar">index</var> was changed
- from <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_set_file_comment</code>() was added in libzip
+ 0.7. In libzip 0.10 the type of <var class="Ar" title="Ar">index</var> was
+ changed from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_uint64_t</var>. It was deprecated in libzip
- 0.11, use <b class="Fn" title="Fn">zip_file_set_comment</b>() instead.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+ 0.11, use <code class="Fn" title="Fn">zip_file_set_comment</code>() instead.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -96,7 +92,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_set_file_compression.html b/man/zip_set_file_compression.html
index 86977b9..f9129be 100644
--- a/man/zip_set_file_compression.html
+++ b/man/zip_set_file_compression.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SET_FILE_COMPRESSION(3)</title>
</head>
@@ -52,17 +46,18 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_set_file_compression</b> —
- <span class="Nd" title="Nd">set compression method for file in zip</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_set_file_compression</code> —
+<div class="Nd" title="Nd">set compression method for file in zip</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_set_file_compression</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_set_file_compression</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
@@ -70,9 +65,9 @@
comp</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint32_t
comp_flags</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_set_file_compression</b>() function sets the
- compression method for the file at position
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_set_file_compression</code>() function sets
+ the compression method for the file at position
<var class="Ar" title="Ar">index</var> in the zip archive to
<var class="Ar" title="Ar">comp</var> with the compression method specific
<var class="Ar" title="Ar">comp_flags</var>. The
@@ -81,24 +76,24 @@
<var class="Ar" title="Ar">comp</var> argument, currently only the following
values are supported:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"><a class="selflink" href="#ZIP_CM_DEFAULT"><code class="Dv" title="Dv" id="ZIP_CM_DEFAULT">ZIP_CM_DEFAULT</code></a></dt>
- <dd class="It-tag">default compression; currently the same as
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;"><a class="permalink" href="#ZIP_CM_DEFAULT"><code class="Dv" title="Dv" id="ZIP_CM_DEFAULT">ZIP_CM_DEFAULT</code></a></dt>
+ <dd>default compression; currently the same as
<code class="Dv" title="Dv">ZIP_CM_DEFLATE</code>.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"><a class="selflink" href="#ZIP_CM_STORE"><code class="Dv" title="Dv" id="ZIP_CM_STORE">ZIP_CM_STORE</code></a></dt>
- <dd class="It-tag">Store the file uncompressed.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"><a class="selflink" href="#ZIP_CM_BZIP2"><code class="Dv" title="Dv" id="ZIP_CM_BZIP2">ZIP_CM_BZIP2</code></a></dt>
- <dd class="It-tag">Compress the file using the
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;"><a class="permalink" href="#ZIP_CM_STORE"><code class="Dv" title="Dv" id="ZIP_CM_STORE">ZIP_CM_STORE</code></a></dt>
+ <dd>Store the file uncompressed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;"><a class="permalink" href="#ZIP_CM_BZIP2"><code class="Dv" title="Dv" id="ZIP_CM_BZIP2">ZIP_CM_BZIP2</code></a></dt>
+ <dd>Compress the file using the
<a class="Xr" title="Xr" href="bzip2.html">bzip2(1)</a> algorithm.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"><a class="selflink" href="#ZIP_CM_DEFLATE"><code class="Dv" title="Dv" id="ZIP_CM_DEFLATE">ZIP_CM_DEFLATE</code></a></dt>
- <dd class="It-tag">Deflate the file with the
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;"><a class="permalink" href="#ZIP_CM_DEFLATE"><code class="Dv" title="Dv" id="ZIP_CM_DEFLATE">ZIP_CM_DEFLATE</code></a></dt>
+ <dd>Deflate the file with the
<a class="Xr" title="Xr" href="zlib.html">zlib(3)</a> algorithm and
default options</dd>
</dl>
@@ -113,37 +108,37 @@
<div class="Pp"></div>
The current compression method for a file in a zip archive can be determined
using <a class="Xr" title="Xr" href="zip_stat.html">zip_stat(3)</a>.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">archive</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_set_file_compression</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_set_file_compression</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_COMPNOTSUPP"><code class="Er" title="Er" id="ZIP_ER_COMPNOTSUPP">ZIP_ER_COMPNOTSUPP</code></a>]</dt>
- <dd class="It-tag">Unsupported compression method requested.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">archive</var>, or the argument
- combination is invalid.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
- <dd class="It-tag">Read-only zip file, no changes allowed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_COMPNOTSUPP"><code class="Er" title="Er" id="ZIP_ER_COMPNOTSUPP">ZIP_ER_COMPNOTSUPP</code></a>]</dt>
+ <dd>Unsupported compression method requested.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">archive</var>, or the argument combination is
+ invalid.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_RDONLY"><code class="Er" title="Er" id="ZIP_ER_RDONLY">ZIP_ER_RDONLY</code></a>]</dt>
+ <dd>Read-only zip file, no changes allowed.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_stat.html">zip_stat(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_set_file_compression</b>() was added in libzip
- 0.11.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_set_file_compression</code>() was added in
+ libzip 0.11.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -151,7 +146,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source.html b/man/zip_source.html
index 63a7d88..d8f202a 100644
--- a/man/zip_source.html
+++ b/man/zip_source.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE(3)</title>
</head>
@@ -52,16 +46,17 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source</b> — <span class="Nd" title="Nd">zip
- data source structure</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source</code> —
+<div class="Nd" title="Nd">zip data source structure</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Vt" title="Vt">zip_source_t *zs</var>;
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
A <var class="Vt" title="Vt">struct zip_source</var> is a data source used by
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a> for adding or
replacing file contents for a file in a zip archive. If the source supports
@@ -88,7 +83,7 @@
<a class="Xr" title="Xr" href="zip_source_keep.html">zip_source_keep(3)</a> to
increase the reference count, for example if you need the source after
<a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source_buffer.html">zip_source_buffer(3)</a>,
@@ -97,7 +92,7 @@
<a class="Xr" title="Xr" href="zip_source_free.html">zip_source_free(3)</a>,
<a class="Xr" title="Xr" href="zip_source_function.html">zip_source_function(3)</a>,
<a class="Xr" title="Xr" href="zip_source_zip.html">zip_source_zip(3)</a>
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -105,7 +100,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_begin_write.html b/man/zip_source_begin_write.html
index 36ac0ef..339ab9a 100644
--- a/man/zip_source_begin_write.html
+++ b/man/zip_source_begin_write.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_BEGIN_WRITE(3)</title>
</head>
@@ -52,43 +46,44 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_begin_write</b>,
- <b class="Nm" title="Nm">zip_source_begin_write_cloning</b> —
- <span class="Nd" title="Nd">prepare zip source for writing</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_begin_write</code>,
+ <code class="Nm" title="Nm">zip_source_begin_write_cloning</code> —
+<div class="Nd" title="Nd">prepare zip source for writing</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_source_begin_write</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_begin_write</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_source_begin_write_cloning</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_begin_write_cloning</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
offset</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The functions <b class="Fn" title="Fn">zip_source_begin_write</b>() and
- <b class="Fn" title="Fn">zip_source_begin_write_cloning</b>() prepare
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The functions <code class="Fn" title="Fn">zip_source_begin_write</code>() and
+ <code class="Fn" title="Fn">zip_source_begin_write_cloning</code>() prepare
<var class="Fa" title="Fa">source</var> for writing. Usually this involves
creating temporary files or allocating buffers.
<div class="Pp"></div>
-<b class="Fn" title="Fn">zip_source_begin_write_cloning</b>() preserves the
- first <var class="Ar" title="Ar">offset</var> bytes of the original file. This
- is done efficiently, and writes to <var class="Ar" title="Ar">source</var>
- won't overwrite the original data until
- <b class="Fn" title="Fn">zip_commit_write</b>() is called.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<code class="Fn" title="Fn">zip_source_begin_write_cloning</code>() preserves
+ the first <var class="Ar" title="Ar">offset</var> bytes of the original file.
+ This is done efficiently, and writes to
+ <var class="Ar" title="Ar">source</var> won't overwrite the original data
+ until <code class="Fn" title="Fn">zip_commit_write</code>() is called.
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">source</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
@@ -97,12 +92,13 @@
<a class="Xr" title="Xr" href="zip_source_seek_write.html">zip_source_seek_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_tell_write.html">zip_source_tell_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_write.html">zip_source_write(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_begin_write</b>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_begin_write</code>() was added in libzip
+ 1.0.
<div class="Pp"></div>
-<b class="Fn" title="Fn">zip_source_begin_write_cloning</b>() was added in
+<code class="Fn" title="Fn">zip_source_begin_write_cloning</code>() was added in
libzip 1.4.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -110,7 +106,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_buffer.html b/man/zip_source_buffer.html
index e1a60a0..fa86e0c 100644
--- a/man/zip_source_buffer.html
+++ b/man/zip_source_buffer.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_BUFFER(3)</title>
</head>
@@ -52,18 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_buffer</b>,
- <b class="Nm" title="Nm">zip_source_buffer_create</b> —
- <span class="Nd" title="Nd">create zip data source from buffer</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_buffer</code>,
+ <code class="Nm" title="Nm">zip_source_buffer_create</code> —
+<div class="Nd" title="Nd">create zip data source from buffer</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_buffer</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_source_buffer</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
void *data</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
@@ -72,56 +67,56 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_buffer_create</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
+<code class="Fn" title="Fn">zip_source_buffer_create</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
void *data</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
len</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
freep</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The functions <b class="Fn" title="Fn">zip_source_buffer</b>() and
- <b class="Fn" title="Fn">zip_source_buffer_create</b>() create a zip source
- from the buffer <var class="Ar" title="Ar">data</var> of size
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The functions <code class="Fn" title="Fn">zip_source_buffer</code>() and
+ <code class="Fn" title="Fn">zip_source_buffer_create</code>() create a zip
+ source from the buffer <var class="Ar" title="Ar">data</var> of size
<var class="Ar" title="Ar">len</var>. If
<var class="Ar" title="Ar">freep</var> is non-zero, the buffer will be freed
when it is no longer needed. <var class="Ar" title="Ar">data</var> must remain
valid for the lifetime of the created source.
<div class="Pp"></div>
The source can be used to open a zip archive from.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the created source is returned. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> or
<var class="Ar" title="Ar">error</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_source_buffer</b>() and
- <b class="Fn" title="Fn">zip_source_buffer_create</b>() fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_source_buffer</code>() and
+ <code class="Fn" title="Fn">zip_source_buffer_create</code>() fail if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">len</var> is greater than zero
- and <var class="Ar" title="Ar">data</var> is
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">len</var> is greater than zero and
+ <var class="Ar" title="Ar">data</var> is
<code class="Dv" title="Dv">NULL</code>.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_add.html">zip_add(3)</a>,
<a class="Xr" title="Xr" href="zip_open_from_source.html">zip_open_from_source(3)</a>,
<a class="Xr" title="Xr" href="zip_replace.html">zip_replace(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_buffer</b>() and
- <b class="Fn" title="Fn">zip_source_buffer_create</b>() were added in libzip
- 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_buffer</code>() and
+ <code class="Fn" title="Fn">zip_source_buffer_create</code>() were added in
+ libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -129,7 +124,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_buffer_fragment.html b/man/zip_source_buffer_fragment.html
index ef83fa2..197667d 100644
--- a/man/zip_source_buffer_fragment.html
+++ b/man/zip_source_buffer_fragment.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_BUFFER_FRAGMENT(3)</title>
</head>
@@ -52,18 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_buffer_fragment</b>,
- <b class="Nm" title="Nm">zip_source_buffer_fragment_create</b> —
- <span class="Nd" title="Nd">create zip data source from multiple buffer</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_buffer_fragment</code>,
+ <code class="Nm" title="Nm">zip_source_buffer_fragment_create</code> —
+<div class="Nd" title="Nd">create zip data source from multiple buffer</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_buffer_fragment</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_source_buffer_fragment</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_buffer_fragment_t
*fragments</var>,
@@ -73,17 +68,18 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_buffer_fragment_create</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_buffer_fragment_t
+<code class="Fn" title="Fn">zip_source_buffer_fragment_create</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_buffer_fragment_t
*fragments</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
nfragments</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
freep</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The functions <b class="Fn" title="Fn">zip_source_buffer_fragment</b>() and
- <b class="Fn" title="Fn">zip_source_buffer_fragment_create</b>() create a zip
- source from the data in <var class="Ar" title="Ar">fragments</var>.
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The functions <code class="Fn" title="Fn">zip_source_buffer_fragment</code>()
+ and <code class="Fn" title="Fn">zip_source_buffer_fragment_create</code>()
+ create a zip source from the data in
+ <var class="Ar" title="Ar">fragments</var>.
<var class="Ar" title="Ar">nfragments</var> specifies the number of fragments.
If <var class="Ar" title="Ar">freep</var> is non-zero, the data will be freed
when it is no longer needed.
@@ -103,39 +99,39 @@
source is created.
<div class="Pp"></div>
The source can be used to open a zip archive from.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the created source is returned. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> or
<var class="Ar" title="Ar">error</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_source_buffer</b>() and
- <b class="Fn" title="Fn">zip_source_buffer_create</b>() fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_source_buffer</code>() and
+ <code class="Fn" title="Fn">zip_source_buffer_create</code>() fail if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">nfragments</var> is greater than
- zero and <var class="Ar" title="Ar">fragments</var> is
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">nfragments</var> is greater than zero and
+ <var class="Ar" title="Ar">fragments</var> is
<code class="Dv" title="Dv">NULL</code>.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_add.html">zip_add(3)</a>,
<a class="Xr" title="Xr" href="zip_open_from_source.html">zip_open_from_source(3)</a>,
<a class="Xr" title="Xr" href="zip_replace.html">zip_replace(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_buffer_fragment</b>() and
- <b class="Fn" title="Fn">zip_source_buffer_fragment_create</b>() were added in
- libzip 1.4.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_buffer_fragment</code>() and
+ <code class="Fn" title="Fn">zip_source_buffer_fragment_create</code>() were
+ added in libzip 1.4.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -143,7 +139,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_close.html b/man/zip_source_close.html
index 02413aa..453c373 100644
--- a/man/zip_source_close.html
+++ b/man/zip_source_close.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_CLOSE(3)</title>
</head>
@@ -52,37 +46,37 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_close</b> —
- <span class="Nd" title="Nd">open zip_source (which was open for
- reading)</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_close</code> —
+<div class="Nd" title="Nd">open zip_source (which was open for reading)</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_source_close</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_close</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_close</b>() closes
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_close</code>() closes
<var class="Fa" title="Fa">source</var>, indicating that no more data will be
read.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">source</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
<a class="Xr" title="Xr" href="zip_source_free.html">zip_source_free(3)</a>,
<a class="Xr" title="Xr" href="zip_source_open.html">zip_source_open(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_close</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_close</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -90,7 +84,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_commit_write.html b/man/zip_source_commit_write.html
index 82b5ac5..c1d2146 100644
--- a/man/zip_source_commit_write.html
+++ b/man/zip_source_commit_write.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_COMMIT_WRITE(3)</title>
</head>
@@ -52,28 +46,29 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_commit_write</b> —
- <span class="Nd" title="Nd">finalize changes to zip source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_commit_write</code> —
+<div class="Nd" title="Nd">finalize changes to zip source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_source_commit_write</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_commit_write</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_commit_write</b>() finishes
- writing data to <var class="Fa" title="Fa">source</var> and replaces the
- original with the newly written data.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_commit_write</code>()
+ finishes writing data to <var class="Fa" title="Fa">source</var> and replaces
+ the original with the newly written data.
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">source</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
@@ -82,9 +77,10 @@
<a class="Xr" title="Xr" href="zip_source_seek_write.html">zip_source_seek_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_tell_write.html">zip_source_tell_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_write.html">zip_source_write(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_commit_write</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_commit_write</code>() was added in libzip
+ 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -92,7 +88,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_error.html b/man/zip_source_error.html
index 7b7d8a3..8addcb3 100644
--- a/man/zip_source_error.html
+++ b/man/zip_source_error.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_ERROR(3)</title>
</head>
@@ -52,29 +46,30 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_error</b> —
- <span class="Nd" title="Nd">get zip error for data source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_error</code> —
+<div class="Nd" title="Nd">get zip error for data source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_error_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_error</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_error</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_source_error</b>() function returns the zip
- error for the data source <var class="Ar" title="Ar">source</var>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_source_error</code>() function returns the
+ zip error for the data source <var class="Ar" title="Ar">source</var>.
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_error_code_system.html">zip_error_code_system(3)</a>,
<a class="Xr" title="Xr" href="zip_error_code_zip.html">zip_error_code_zip(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_error</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_error</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -82,7 +77,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_file.html b/man/zip_source_file.html
index 2e33e03..345f6b5 100644
--- a/man/zip_source_file.html
+++ b/man/zip_source_file.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_FILE(3)</title>
</head>
@@ -52,18 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_file</b>,
- <b class="Nm" title="Nm">zip_source_file_create</b> —
- <span class="Nd" title="Nd">create data source from a file</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_file</code>,
+ <code class="Nm" title="Nm">zip_source_file_create</code> —
+<div class="Nd" title="Nd">create data source from a file</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_file</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_source_file</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *fname</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
@@ -73,17 +68,17 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_file_create</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
+<code class="Fn" title="Fn">zip_source_file_create</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
char *fname</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
start</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_int64_t len</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The functions <b class="Fn" title="Fn">zip_source_file</b>() and
- <b class="Fn" title="Fn">zip_source_file_create</b>() create a zip source from
- a file. They open <var class="Ar" title="Ar">fname</var> and read
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The functions <code class="Fn" title="Fn">zip_source_file</code>() and
+ <code class="Fn" title="Fn">zip_source_file_create</code>() create a zip
+ source from a file. They open <var class="Ar" title="Ar">fname</var> and read
<var class="Ar" title="Ar">len</var> bytes from offset
<var class="Ar" title="Ar">start</var> from it. If
<var class="Ar" title="Ar">len</var> is 0 or -1, the whole file (starting from
@@ -92,44 +87,44 @@
If the file supports seek, the source can be used to open a zip archive from.
<div class="Pp"></div>
The file is opened and read when the data from the source is used, usually by
- <b class="Fn" title="Fn">zip_close</b>() or
- <b class="Fn" title="Fn">zip_open_from_source</b>().
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+ <code class="Fn" title="Fn">zip_close</code>() or
+ <code class="Fn" title="Fn">zip_open_from_source</code>().
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the created source is returned. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> or
<var class="Ar" title="Ar">error</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_source_file</b>() and
- <b class="Fn" title="Fn">zip_source_file_create</b>() fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_source_file</code>() and
+ <code class="Fn" title="Fn">zip_source_file_create</code>() fail if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">fname</var>,
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">fname</var>,
<var class="Ar" title="Ar">start</var>, or
<var class="Ar" title="Ar">len</var> are invalid.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
- <dd class="It-tag">Opening <var class="Ar" title="Ar">fname</var> failed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
+ <dd>Opening <var class="Ar" title="Ar">fname</var> failed.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_add.html">zip_add(3)</a>,
<a class="Xr" title="Xr" href="zip_replace.html">zip_replace(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_file</b>() and
- <b class="Fn" title="Fn">zip_source_file_create</b>() were added in libzip
- 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_file</code>() and
+ <code class="Fn" title="Fn">zip_source_file_create</code>() were added in
+ libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -137,7 +132,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_filep.html b/man/zip_source_filep.html
index 58de83a..ce24a52 100644
--- a/man/zip_source_filep.html
+++ b/man/zip_source_filep.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_FILEP(3)</title>
</head>
@@ -52,18 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_filep</b>,
- <b class="Nm" title="Nm">zip_source_filep_create</b> —
- <span class="Nd" title="Nd">create data source from FILE *</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_filep</code>,
+ <code class="Nm" title="Nm">zip_source_filep_create</code> —
+<div class="Nd" title="Nd">create data source from FILE *</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_filep</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_source_filep</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">FILE
*file</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
@@ -73,20 +68,20 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_filep_create</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">FILE
+<code class="Fn" title="Fn">zip_source_filep_create</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">FILE
*file</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
start</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_int64_t len</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The functions <b class="Fn" title="Fn">zip_source_filep</b>() and
- <b class="Fn" title="Fn">zip_source_filep_create</b>() create a zip source
- from a file stream. They read <var class="Ar" title="Ar">len</var> bytes from
- offset <var class="Ar" title="Ar">start</var> from the open file stream
- <var class="Ar" title="Ar">file</var>. If <var class="Ar" title="Ar">len</var>
- is 0 or -1, the whole file (starting from
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The functions <code class="Fn" title="Fn">zip_source_filep</code>() and
+ <code class="Fn" title="Fn">zip_source_filep_create</code>() create a zip
+ source from a file stream. They read <var class="Ar" title="Ar">len</var>
+ bytes from offset <var class="Ar" title="Ar">start</var> from the open file
+ stream <var class="Ar" title="Ar">file</var>. If
+ <var class="Ar" title="Ar">len</var> is 0 or -1, the whole file (starting from
<var class="Ar" title="Ar">start</var>) is used.
<div class="Pp"></div>
If the file stream supports seeking, the source can be used to open a read-only
@@ -94,37 +89,37 @@
<div class="Pp"></div>
The file stream is closed when the source is being freed, usually by
<a class="Xr" title="Xr" href="zip_close.html">zip_close(3)</a>.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the created source is returned. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> or
<var class="Ar" title="Ar">error</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_source_filep</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_source_filep</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">file</var>,
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">file</var>,
<var class="Ar" title="Ar">start</var>, or
<var class="Ar" title="Ar">len</var> are invalid.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_add.html">zip_add(3)</a>,
<a class="Xr" title="Xr" href="zip_replace.html">zip_replace(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_filep</b>() and
- <b class="Fn" title="Fn">zip_source_filep_create</b>() were added in libzip
- 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_filep</code>() and
+ <code class="Fn" title="Fn">zip_source_filep_create</code>() were added in
+ libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -132,7 +127,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_free.html b/man/zip_source_free.html
index 0d17d44..eedad8a 100644
--- a/man/zip_source_free.html
+++ b/man/zip_source_free.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_FREE(3)</title>
</head>
@@ -52,20 +46,21 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_free</b> —
- <span class="Nd" title="Nd">free zip data source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_free</code> —
+<div class="Nd" title="Nd">free zip data source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_source_free</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_free</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_free</b>() decrements the
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_free</code>() decrements the
reference count of <var class="Ar" title="Ar">source</var> and frees it if the
reference count drops to 0. If <var class="Ar" title="Ar">source</var> is
<code class="Dv" title="Dv">NULL</code>, it does nothing.
@@ -76,14 +71,14 @@
<a class="Xr" title="Xr" href="zip_file_add.html">zip_file_add(3)</a>, or
<a class="Xr" title="Xr" href="zip_file_replace.html">zip_file_replace(3)</a>
call.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
<a class="Xr" title="Xr" href="zip_source_keep.html">zip_source_keep(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_free</b>() was added in libzip 0.6.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_free</code>() was added in libzip 0.6.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -91,7 +86,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_function.html b/man/zip_source_function.html
index 066a596..1d4a694 100644
--- a/man/zip_source_function.html
+++ b/man/zip_source_function.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_FUNCTION(3)</title>
</head>
@@ -52,18 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_function</b>,
- <b class="Nm" title="Nm">zip_source_function_create</b> —
- <span class="Nd" title="Nd">create data source from function</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_function</code>,
+ <code class="Nm" title="Nm">zip_source_function_create</code> —
+<div class="Nd" title="Nd">create data source from function</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_function</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_source_function</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_callback
fn</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">void
@@ -71,19 +66,19 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_function_create</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_callback
+<code class="Fn" title="Fn">zip_source_function_create</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_callback
fn</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">void
*userdata</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The functions <b class="Fn" title="Fn">zip_source_function</b>() and
- <b class="Fn" title="Fn">zip_source_function_create</b>() creates a zip source
- from the user-provided function <var class="Ar" title="Ar">fn</var>, which
- must be of the following type:
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The functions <code class="Fn" title="Fn">zip_source_function</code>() and
+ <code class="Fn" title="Fn">zip_source_function_create</code>() creates a zip
+ source from the user-provided function <var class="Ar" title="Ar">fn</var>,
+ which must be of the following type:
<div class="Pp"></div>
<var class="Ft" title="Ft">typedef zip_int64_t</var>
- <b class="Fn" title="Fn">(*zip_source_callback)</b>(<var class="Fa" title="Fa">void
+ <code class="Fn" title="Fn">(*zip_source_callback)</code>(<var class="Fa" title="Fa">void
*userdata</var>, <var class="Fa" title="Fa">void *data</var>,
<var class="Fa" title="Fa">zip_uint64_t len</var>,
<var class="Fa" title="Fa">zip_source_cmd_t cmd</var>);
@@ -101,30 +96,30 @@
the function should perform.
<div class="Pp"></div>
Depending on the uses, there are three useful sets of commands to be supported
- by a <b class="Fn" title="Fn">zip_source_callback</b>():
+ by a <code class="Fn" title="Fn">zip_source_callback</code>():
<dl class="Bl-tag" style="margin-left: 29.40ex;">
- <dt class="It-tag" style="margin-left: -29.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -29.40ex;">read source</dt>
- <dd class="It-tag">Providing streamed data (for file data added to archives).
- Must support <code class="Dv" title="Dv">ZIP_SOURCE_OPEN</code>,
+ <dt style="margin-left: -29.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -29.40ex;">read source</dt>
+ <dd>Providing streamed data (for file data added to archives). Must support
+ <code class="Dv" title="Dv">ZIP_SOURCE_OPEN</code>,
<code class="Dv" title="Dv">ZIP_SOURCE_READ</code>,
<code class="Dv" title="Dv">ZIP_SOURCE_CLOSE</code>,
<code class="Dv" title="Dv">ZIP_SOURCE_STAT</code>, and
<code class="Dv" title="Dv">ZIP_SOURCE_ERROR</code>.</dd>
- <dt class="It-tag" style="margin-left: -29.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -29.40ex;">seekable read source</dt>
- <dd class="It-tag">Same as previous, but from a source allowing reading from
- arbitrary offsets (also for read-only zip archive). Must additionally
- support <code class="Dv" title="Dv">ZIP_SOURCE_SEEK</code>,
+ <dt style="margin-left: -29.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -29.40ex;">seekable read source</dt>
+ <dd>Same as previous, but from a source allowing reading from arbitrary
+ offsets (also for read-only zip archive). Must additionally support
+ <code class="Dv" title="Dv">ZIP_SOURCE_SEEK</code>,
<code class="Dv" title="Dv">ZIP_SOURCE_TELL</code>, and
<code class="Dv" title="Dv">ZIP_SOURCE_SUPPORTS</code>.</dd>
- <dt class="It-tag" style="margin-left: -29.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -29.40ex;">read/write source</dt>
- <dd class="It-tag">Same as previous, but additionally allowing writing (also
- for writable zip archives). Must additionally support
+ <dt style="margin-left: -29.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -29.40ex;">read/write source</dt>
+ <dd>Same as previous, but additionally allowing writing (also for writable zip
+ archives). Must additionally support
<code class="Dv" title="Dv">ZIP_SOURCE_BEGIN_WRITE</code>,
<code class="Dv" title="Dv">ZIP_SOURCE_COMMIT_WRITE</code>,
<code class="Dv" title="Dv">ZIP_SOURCE_ROLLBACK_WRITE</code>,
@@ -219,8 +214,8 @@
<div class="Pp"></div>
Information only available after the source has been read (e.g., size) can be
omitted in an earlier call. <i class="Em" title="Em">NOTE</i>:
- <b class="Fn" title="Fn">zip_source_function</b>() may be called with this
- argument even after being called with
+ <code class="Fn" title="Fn">zip_source_function</code>() may be called with
+ this argument even after being called with
<code class="Dv" title="Dv">ZIP_SOURCE_CLOSE</code>.
<div class="Pp"></div>
Return sizeof(struct zip_stat) on success.
@@ -237,13 +232,13 @@
<a class="Xr" title="Xr" href="ftell.html">ftell(3)</a>.
<h2 class="Ss" title="Ss"><code class="Dv" title="Dv">ZIP_SOURCE_WRITE</code></h2>
Write data to the source. Return number of bytes written.
-<h2 class="Ss" title="Ss" id="Return_Values"><a class="selflink" href="#Return_Values">Return
+<h2 class="Ss" title="Ss" id="Return_Values"><a class="permalink" href="#Return_Values">Return
Values</a></h2>
Commands should return -1 on error.
<code class="Dv" title="Dv">ZIP_SOURCE_ERROR</code> will be called to retrieve
the error code. On success, commands return 0, unless specified otherwise in
the description above.
-<h2 class="Ss" title="Ss" id="Calling_Conventions"><a class="selflink" href="#Calling_Conventions">Calling
+<h2 class="Ss" title="Ss" id="Calling_Conventions"><a class="permalink" href="#Calling_Conventions">Calling
Conventions</a></h2>
The library will always issue <code class="Dv" title="Dv">ZIP_SOURCE_OPEN</code>
before issuing <code class="Dv" title="Dv">ZIP_SOURCE_READ</code>,
@@ -276,33 +271,33 @@
<code class="Dv" title="Dv">ZIP_SOURCE_BEGIN_WRITE_CLONING</code> and
<code class="Dv" title="Dv">ZIP_SOURCE_COMMIT_WRITE</code> or
<code class="Dv" title="Dv">ZIP_SOURCE_ROLLBACK_WRITE</code>.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the created source is returned. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> or
<var class="Ar" title="Ar">error</var> is set to indicate the error (unless it
is <code class="Dv" title="Dv">NULL</code>).
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_source_function</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_source_function</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_add.html">zip_add(3)</a>,
<a class="Xr" title="Xr" href="zip_replace.html">zip_replace(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
<a class="Xr" title="Xr" href="zip_stat_init.html">zip_stat_init(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_function</b>() and
- <b class="Fn" title="Fn">zip_source_function_create</b>() were added in libzip
- 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_function</code>() and
+ <code class="Fn" title="Fn">zip_source_function_create</code>() were added in
+ libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -310,7 +305,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_is_deleted.html b/man/zip_source_is_deleted.html
index 12832e4..69c41ab 100644
--- a/man/zip_source_is_deleted.html
+++ b/man/zip_source_is_deleted.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_IS_DELETED(3)</title>
</head>
@@ -52,33 +46,35 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_is_deleted</b> —
- <span class="Nd" title="Nd">check if zip_source is deleted</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_is_deleted</code> —
+<div class="Nd" title="Nd">check if zip_source is deleted</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_source_is_deleted</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_is_deleted</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_is_deleted</b>() returns
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_is_deleted</code>() returns
whether the zip_source was deleted. This can for example happen when all
entries are removed from a zip archive.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
-<b class="Fn" title="Fn">zip_source_is_deleted</b>() returns 1 if the zip_source
- is deleted and 0 otherwise.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<code class="Fn" title="Fn">zip_source_is_deleted</code>() returns 1 if the
+ zip_source is deleted and 0 otherwise.
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_is_deleted</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_is_deleted</code>() was added in libzip
+ 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -86,7 +82,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_keep.html b/man/zip_source_keep.html
index d1d9cad..24588e7 100644
--- a/man/zip_source_keep.html
+++ b/man/zip_source_keep.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_KEEP(3)</title>
</head>
@@ -52,30 +46,30 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_keep</b> —
- <span class="Nd" title="Nd">increment reference count of zip data
- source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_keep</code> —
+<div class="Nd" title="Nd">increment reference count of zip data source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_source_keep</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_keep</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_keep</b>() increments the
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_keep</code>() increments the
reference count of <var class="Ar" title="Ar">source</var>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
<a class="Xr" title="Xr" href="zip_source_free.html">zip_source_free(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_keep</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_keep</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -83,7 +77,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_make_command_bitmap.html b/man/zip_source_make_command_bitmap.html
index 7a99fd8..2e4de76 100644
--- a/man/zip_source_make_command_bitmap.html
+++ b/man/zip_source_make_command_bitmap.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_MAKE_COMMAND_BITMAP(3)</title>
</head>
@@ -52,33 +46,33 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_make_command_bitmap</b> —
- <span class="Nd" title="Nd">create bitmap of supported source
- operations</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_make_command_bitmap</code> —
+<div class="Nd" title="Nd">create bitmap of supported source operations</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_source_make_command_bitmap</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_cmd_t
+<code class="Fn" title="Fn">zip_source_make_command_bitmap</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_cmd_t
command</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">...</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_source_make_command_bitmap</b>() function
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_source_make_command_bitmap</code>() function
returns a bitmap of source commands suitable as return value for
<code class="Dv" title="Dv">ZIP_SOURCE_SUPPORTS</code>. It includes all the
commands from the argument list, which must be terminated by -1.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source_function.html">zip_source_function(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_make_command_bitmap</b>() was added in
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_make_command_bitmap</code>() was added in
libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -86,7 +80,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_open.html b/man/zip_source_open.html
index bcd6c8c..834032c 100644
--- a/man/zip_source_open.html
+++ b/man/zip_source_open.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_OPEN(3)</title>
</head>
@@ -52,27 +46,28 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_open</b> —
- <span class="Nd" title="Nd">open zip_source for reading</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_open</code> —
+<div class="Nd" title="Nd">open zip_source for reading</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_source_open</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_open</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_open</b>() opens
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_open</code>() opens
<var class="Fa" title="Fa">source</var> for reading.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">source</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
@@ -81,9 +76,9 @@
<a class="Xr" title="Xr" href="zip_source_read.html">zip_source_read(3)</a>,
<a class="Xr" title="Xr" href="zip_source_seek.html">zip_source_seek(3)</a>,
<a class="Xr" title="Xr" href="zip_source_tell.html">zip_source_tell(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_open</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_open</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -91,7 +86,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_read.html b/man/zip_source_read.html
index 13a5adf..7aa97b4 100644
--- a/man/zip_source_read.html
+++ b/man/zip_source_read.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_READ(3)</title>
</head>
@@ -52,23 +46,24 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_read</b> —
- <span class="Nd" title="Nd">read data from zip source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_read</code> —
+<div class="Nd" title="Nd">read data from zip source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_source_read</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_read</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">void
*data</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
len</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_read</b>() reads up to
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_read</code>() reads up to
<var class="Ar" title="Ar">len</var> bytes of data from
<var class="Ar" title="Ar">source</var> at the current read offset into the
buffer <var class="Ar" title="Ar">data</var>.
@@ -77,22 +72,22 @@
reading by calling
<a class="Xr" title="Xr" href="zip_source_open.html">zip_source_open(3)</a>
first.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion the number of bytes read is returned. Upon reading
end-of-file, zero is returned. Otherwise, -1 is returned and the error
information in <var class="Ar" title="Ar">source</var> is set to indicate the
error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
<a class="Xr" title="Xr" href="zip_source_seek.html">zip_source_seek(3)</a>,
<a class="Xr" title="Xr" href="zip_source_tell.html">zip_source_tell(3)</a>,
<a class="Xr" title="Xr" href="zip_source_write.html">zip_source_write(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_read</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_read</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -100,7 +95,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_rollback_write.html b/man/zip_source_rollback_write.html
index 99cd90c..446f4ef 100644
--- a/man/zip_source_rollback_write.html
+++ b/man/zip_source_rollback_write.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_ROLLBACK_WRITE(3)</title>
</head>
@@ -52,30 +46,31 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_rollback_write</b> —
- <span class="Nd" title="Nd">undo changes to zip source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_rollback_write</code> —
+<div class="Nd" title="Nd">undo changes to zip source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_source_rollback_write</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_rollback_write</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_rollback_write</b>() reverts
- changes written to <var class="Fa" title="Fa">source</var>, restoring the data
- before
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_rollback_write</code>()
+ reverts changes written to <var class="Fa" title="Fa">source</var>, restoring
+ the data before
<a class="Xr" title="Xr" href="zip_source_begin_write.html">zip_source_begin_write(3)</a>
was called. Usually this removes temporary files or frees buffers.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">source</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
@@ -84,10 +79,10 @@
<a class="Xr" title="Xr" href="zip_source_seek_write.html">zip_source_seek_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_tell_write.html">zip_source_tell_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_write.html">zip_source_write(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_rollback_write</b>() was added in libzip
- 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_rollback_write</code>() was added in
+ libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -95,7 +90,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_seek.html b/man/zip_source_seek.html
index 9d61956..835a971 100644
--- a/man/zip_source_seek.html
+++ b/man/zip_source_seek.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_SEEK(3)</title>
</head>
@@ -52,57 +46,58 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_seek</b> —
- <span class="Nd" title="Nd">set read offset in zip source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_seek</code> —
+<div class="Nd" title="Nd">set read offset in zip source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_source_seek</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_seek</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_int64_t
offset</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
whence</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_seek</b>() sets the current
- read offset for <var class="Fa" title="Fa">source</var>. Just like in
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_seek</code>() sets the
+ current read offset for <var class="Fa" title="Fa">source</var>. Just like in
<a class="Xr" title="Xr" href="fseek.html">fseek(3)</a>, depending on the
<var class="Ar" title="Ar">whence</var> argument, the
<var class="Ar" title="Ar">offset</var> is counted relative from:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 15.00ex;">
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#SEEK_SET"><code class="Dv" title="Dv" id="SEEK_SET">SEEK_SET</code></a></dt>
- <dd class="It-tag">start of file</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#SEEK_CUR"><code class="Dv" title="Dv" id="SEEK_CUR">SEEK_CUR</code></a></dt>
- <dd class="It-tag">current read offset in file</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#SEEK_END"><code class="Dv" title="Dv" id="SEEK_END">SEEK_END</code></a></dt>
- <dd class="It-tag">end of file</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#SEEK_SET"><code class="Dv" title="Dv" id="SEEK_SET">SEEK_SET</code></a></dt>
+ <dd>start of file</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#SEEK_CUR"><code class="Dv" title="Dv" id="SEEK_CUR">SEEK_CUR</code></a></dt>
+ <dd>current read offset in file</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#SEEK_END"><code class="Dv" title="Dv" id="SEEK_END">SEEK_END</code></a></dt>
+ <dd>end of file</dd>
</dl>
</div>
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">source</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
<a class="Xr" title="Xr" href="zip_source_read.html">zip_source_read(3)</a>,
<a class="Xr" title="Xr" href="zip_source_tell.html">zip_source_tell(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_seek</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_seek</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -110,7 +105,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_seek_compute_offset.html b/man/zip_source_seek_compute_offset.html
index 6eedd80..9d150bd 100644
--- a/man/zip_source_seek_compute_offset.html
+++ b/man/zip_source_seek_compute_offset.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_SEEK_COMPUTE_OFFSET(3)</title>
</head>
@@ -52,17 +46,18 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_seek_compute_offset</b> —
- <span class="Nd" title="Nd">validate arguments and compute offset</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_seek_compute_offset</code> —
+<div class="Nd" title="Nd">validate arguments and compute offset</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_source_seek_compute_offset</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
+<code class="Fn" title="Fn">zip_source_seek_compute_offset</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
offset</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
length</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">void
@@ -71,7 +66,7 @@
data_length</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
Use this function to compute the offset for a
<code class="Dv" title="Dv">ZIP_SOURCE_SEEK</code> or
<code class="Dv" title="Dv">ZIP_SOURCE_SEEK_WRITE</code> command.
@@ -81,26 +76,26 @@
<var class="Ar" title="Ar">length</var> is the length of the source data or,
for <code class="Dv" title="Dv">ZIP_SOURCE_SEEK_WRITE</code>, the amount of
data written.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
On success, it returns the new offset, on error it returns -1 and sets
<var class="Ar" title="Ar">error</var>.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_source_seek_compute_offset</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_source_seek_compute_offset</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag">One of the arguments is invalid or the seek would place the
- offset outside the data.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd>One of the arguments is invalid or the seek would place the offset outside
+ the data.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="zip_source_function.html">zip_source_function(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_seek_compute_offset</b>() was added in
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_seek_compute_offset</code>() was added in
libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -108,7 +103,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_seek_write.html b/man/zip_source_seek_write.html
index b5e9349..cd49a4b 100644
--- a/man/zip_source_seek_write.html
+++ b/man/zip_source_seek_write.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_SEEK_WRITE(3)</title>
</head>
@@ -52,49 +46,50 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_seek_write</b> —
- <span class="Nd" title="Nd">set write offset in zip source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_seek_write</code> —
+<div class="Nd" title="Nd">set write offset in zip source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_source_seek_write</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_seek_write</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_int64_t
offset</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">int
whence</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_seek_write</b>() sets the
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_seek_write</code>() sets the
current write offset for <var class="Fa" title="Fa">source</var>. Just like in
<a class="Xr" title="Xr" href="fseek.html">fseek(3)</a>, depending on the
<var class="Ar" title="Ar">whence</var> argument, the
<var class="Ar" title="Ar">offset</var> is counted relative from:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag" style="margin-left: 15.00ex;">
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#SEEK_SET"><code class="Dv" title="Dv" id="SEEK_SET">SEEK_SET</code></a></dt>
- <dd class="It-tag">start of file</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#SEEK_CUR"><code class="Dv" title="Dv" id="SEEK_CUR">SEEK_CUR</code></a></dt>
- <dd class="It-tag">current write offset in file</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#SEEK_END"><code class="Dv" title="Dv" id="SEEK_END">SEEK_END</code></a></dt>
- <dd class="It-tag">end of file</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#SEEK_SET"><code class="Dv" title="Dv" id="SEEK_SET">SEEK_SET</code></a></dt>
+ <dd>start of file</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#SEEK_CUR"><code class="Dv" title="Dv" id="SEEK_CUR">SEEK_CUR</code></a></dt>
+ <dd>current write offset in file</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#SEEK_END"><code class="Dv" title="Dv" id="SEEK_END">SEEK_END</code></a></dt>
+ <dd>end of file</dd>
</dl>
</div>
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">source</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
@@ -103,9 +98,10 @@
<a class="Xr" title="Xr" href="zip_source_rollback_write.html">zip_source_rollback_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_tell_write.html">zip_source_tell_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_write.html">zip_source_write(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_seek_write</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_seek_write</code>() was added in libzip
+ 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -113,7 +109,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_stat.html b/man/zip_source_stat.html
index 39ddfa3..3c6b7b6 100644
--- a/man/zip_source_stat.html
+++ b/man/zip_source_stat.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_STAT(3)</title>
</head>
@@ -52,22 +46,23 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_stat</b> —
- <span class="Nd" title="Nd">get information about zip_source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_stat</code> —
+<div class="Nd" title="Nd">get information about zip_source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_source_stat</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_stat</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_stat_t *sb</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_source_stat</b>() function obtains information
- about the zip source <var class="Ar" title="Ar">source</var>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_source_stat</code>() function obtains
+ information about the zip source <var class="Ar" title="Ar">source</var>
<div class="Pp"></div>
The <var class="Ar" title="Ar">sb</var> argument is a pointer to a
<var class="Ft" title="Ft">struct zip_source_stat</var> (shown below), into
@@ -91,8 +86,8 @@
</div>
The structure pointed to by <var class="Ar" title="Ar">sb</var> must be
initialized with
- <b class="Fn" title="Fn">zip_stat_init</b>(<var class="Fa" title="Fa">3</var>)
- before calling <b class="Fn" title="Fn">zip_source_stat</b>().
+ <code class="Fn" title="Fn">zip_stat_init</code>(<var class="Fa" title="Fa">3</var>)
+ before calling <code class="Fn" title="Fn">zip_source_stat</code>().
<div class="Pp"></div>
The <var class="Ar" title="Ar">valid</var> field of the structure specifies
which other fields are valid. Check if the flag defined by the following
@@ -100,24 +95,24 @@
fields:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag Bl-compact" style="margin-left: 45.00ex;">
- <dt class="It-tag" style="margin-left: -45.00ex;"><a class="selflink" href="#ZIP_SOURCE_STAT_NAME"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_NAME">ZIP_SOURCE_STAT_NAME</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">name</var></dd>
- <dt class="It-tag" style="margin-left: -45.00ex;"><a class="selflink" href="#ZIP_SOURCE_STAT_INDEX"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_INDEX">ZIP_SOURCE_STAT_INDEX</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var></dd>
- <dt class="It-tag" style="margin-left: -45.00ex;"><a class="selflink" href="#ZIP_SOURCE_STAT_SIZE"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_SIZE">ZIP_SOURCE_STAT_SIZE</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">size</var></dd>
- <dt class="It-tag" style="margin-left: -45.00ex;"><a class="selflink" href="#ZIP_SOURCE_STAT_COMP_SIZE"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_COMP_SIZE">ZIP_SOURCE_STAT_COMP_SIZE</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">comp_size</var></dd>
- <dt class="It-tag" style="margin-left: -45.00ex;"><a class="selflink" href="#ZIP_SOURCE_STAT_MTIME"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_MTIME">ZIP_SOURCE_STAT_MTIME</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">mtime</var></dd>
- <dt class="It-tag" style="margin-left: -45.00ex;"><a class="selflink" href="#ZIP_SOURCE_STAT_CRC"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_CRC">ZIP_SOURCE_STAT_CRC</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">crc</var></dd>
- <dt class="It-tag" style="margin-left: -45.00ex;"><a class="selflink" href="#ZIP_SOURCE_STAT_COMP_METHOD"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_COMP_METHOD">ZIP_SOURCE_STAT_COMP_METHOD</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">comp_method</var></dd>
- <dt class="It-tag" style="margin-left: -45.00ex;"><a class="selflink" href="#ZIP_SOURCE_STAT_ENCRYPTION_METHOD"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_ENCRYPTION_METHOD">ZIP_SOURCE_STAT_ENCRYPTION_METHOD</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">encryption_method</var></dd>
- <dt class="It-tag" style="margin-left: -45.00ex;"><a class="selflink" href="#ZIP_SOURCE_STAT_FLAGS"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_FLAGS">ZIP_SOURCE_STAT_FLAGS</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">flags</var></dd>
+ <dt style="margin-left: -45.00ex;"><a class="permalink" href="#ZIP_SOURCE_STAT_NAME"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_NAME">ZIP_SOURCE_STAT_NAME</code></a></dt>
+ <dd><var class="Ar" title="Ar">name</var></dd>
+ <dt style="margin-left: -45.00ex;"><a class="permalink" href="#ZIP_SOURCE_STAT_INDEX"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_INDEX">ZIP_SOURCE_STAT_INDEX</code></a></dt>
+ <dd><var class="Ar" title="Ar">index</var></dd>
+ <dt style="margin-left: -45.00ex;"><a class="permalink" href="#ZIP_SOURCE_STAT_SIZE"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_SIZE">ZIP_SOURCE_STAT_SIZE</code></a></dt>
+ <dd><var class="Ar" title="Ar">size</var></dd>
+ <dt style="margin-left: -45.00ex;"><a class="permalink" href="#ZIP_SOURCE_STAT_COMP_SIZE"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_COMP_SIZE">ZIP_SOURCE_STAT_COMP_SIZE</code></a></dt>
+ <dd><var class="Ar" title="Ar">comp_size</var></dd>
+ <dt style="margin-left: -45.00ex;"><a class="permalink" href="#ZIP_SOURCE_STAT_MTIME"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_MTIME">ZIP_SOURCE_STAT_MTIME</code></a></dt>
+ <dd><var class="Ar" title="Ar">mtime</var></dd>
+ <dt style="margin-left: -45.00ex;"><a class="permalink" href="#ZIP_SOURCE_STAT_CRC"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_CRC">ZIP_SOURCE_STAT_CRC</code></a></dt>
+ <dd><var class="Ar" title="Ar">crc</var></dd>
+ <dt style="margin-left: -45.00ex;"><a class="permalink" href="#ZIP_SOURCE_STAT_COMP_METHOD"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_COMP_METHOD">ZIP_SOURCE_STAT_COMP_METHOD</code></a></dt>
+ <dd><var class="Ar" title="Ar">comp_method</var></dd>
+ <dt style="margin-left: -45.00ex;"><a class="permalink" href="#ZIP_SOURCE_STAT_ENCRYPTION_METHOD"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_ENCRYPTION_METHOD">ZIP_SOURCE_STAT_ENCRYPTION_METHOD</code></a></dt>
+ <dd><var class="Ar" title="Ar">encryption_method</var></dd>
+ <dt style="margin-left: -45.00ex;"><a class="permalink" href="#ZIP_SOURCE_STAT_FLAGS"><code class="Dv" title="Dv" id="ZIP_SOURCE_STAT_FLAGS">ZIP_SOURCE_STAT_FLAGS</code></a></dt>
+ <dd><var class="Ar" title="Ar">flags</var></dd>
</dl>
</div>
<div class="Pp"></div>
@@ -125,18 +120,18 @@
data has been read from the source, for example the
<var class="Ar" title="Ar">crc</var> or <var class="Ar" title="Ar">size</var>
fields.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">source</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_stat</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_stat</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -144,7 +139,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_tell.html b/man/zip_source_tell.html
index 163cbf3..dac575e 100644
--- a/man/zip_source_tell.html
+++ b/man/zip_source_tell.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_TELL(3)</title>
</head>
@@ -52,40 +46,41 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_tell</b> —
- <span class="Nd" title="Nd">report current read offset in zip source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_tell</code> —
+<div class="Nd" title="Nd">report current read offset in zip source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_source_tell</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_tell</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_tell</b>() returns the current
- read offset for <var class="Fa" title="Fa">source</var>. The return value can
- be passed to
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_tell</code>() returns the
+ current read offset for <var class="Fa" title="Fa">source</var>. The return
+ value can be passed to
<a class="Xr" title="Xr" href="zip_source_seek.html">zip_source_seek(3)</a>
with <var class="Ar" title="Ar">whence</var> set to
<code class="Dv" title="Dv">SEEK_SET</code> to return to the same location in
the source.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion the current read offset is returned. Otherwise, -1 is
returned and the error information in <var class="Ar" title="Ar">source</var>
is set to indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
<a class="Xr" title="Xr" href="zip_source_read.html">zip_source_read(3)</a>,
<a class="Xr" title="Xr" href="zip_source_tell_write.html">zip_source_tell_write(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_tell</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_tell</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -93,7 +88,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_tell_write.html b/man/zip_source_tell_write.html
index 21005f4..b0ca534 100644
--- a/man/zip_source_tell_write.html
+++ b/man/zip_source_tell_write.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_TELL_WRITE(3)</title>
</head>
@@ -52,32 +46,33 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_tell_write</b> —
- <span class="Nd" title="Nd">report current write offset in zip source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_tell_write</code> —
+<div class="Nd" title="Nd">report current write offset in zip source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_source_tell_write</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_tell_write</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_tell_write</b>() returns the
- current write offset for <var class="Fa" title="Fa">source</var>. The return
- value can be passed to
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_tell_write</code>() returns
+ the current write offset for <var class="Fa" title="Fa">source</var>. The
+ return value can be passed to
<a class="Xr" title="Xr" href="zip_source_seek_write.html">zip_source_seek_write(3)</a>
with <var class="Ar" title="Ar">whence</var> set to
<code class="Dv" title="Dv">SEEK_SET</code> to return to the same location in
the source.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion the current write offset is returned. Otherwise, -1
is returned and the error information in
<var class="Ar" title="Ar">source</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
@@ -86,9 +81,10 @@
<a class="Xr" title="Xr" href="zip_source_rollback_write.html">zip_source_rollback_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_tell.html">zip_source_tell(3)</a>,
<a class="Xr" title="Xr" href="zip_source_write.html">zip_source_write(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_tell_write</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_tell_write</code>() was added in libzip
+ 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -96,7 +92,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_win32a.html b/man/zip_source_win32a.html
index 3137662..a76afb9 100644
--- a/man/zip_source_win32a.html
+++ b/man/zip_source_win32a.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_WIN32A(3)</title>
</head>
@@ -52,19 +46,20 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_win32a</b>,
- <b class="Nm" title="Nm">zip_source_win32a_create</b> —
- <span class="Nd" title="Nd">create data source from a Windows ANSI file
- name</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_win32a</code>,
+ <code class="Nm" title="Nm">zip_source_win32a_create</code> —
+<div class="Nd" title="Nd">create data source from a Windows ANSI file
+ name</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_win32a</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_source_win32a</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *fname</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
@@ -74,17 +69,17 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_win32a_create</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
+<code class="Fn" title="Fn">zip_source_win32a_create</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
char *fname</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
start</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_int64_t len</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The functions <b class="Fn" title="Fn">zip_source_win32a</b>() and
- <b class="Fn" title="Fn">zip_source_win32a_create</b>() create a zip source on
- Windows using a Windows ANSI name. They open
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The functions <code class="Fn" title="Fn">zip_source_win32a</code>() and
+ <code class="Fn" title="Fn">zip_source_win32a_create</code>() create a zip
+ source on Windows using a Windows ANSI name. They open
<var class="Ar" title="Ar">fname</var> and read
<var class="Ar" title="Ar">len</var> bytes from offset
<var class="Ar" title="Ar">start</var> from it. If
@@ -94,34 +89,34 @@
If the file supports seek, the source can be used to open a zip archive from.
<div class="Pp"></div>
The file is opened and read when the data from the source is used, usually by
- <b class="Fn" title="Fn">zip_close</b>() or
- <b class="Fn" title="Fn">zip_open_from_source</b>().
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+ <code class="Fn" title="Fn">zip_close</code>() or
+ <code class="Fn" title="Fn">zip_open_from_source</code>().
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the created source is returned. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> or
<var class="Ar" title="Ar">error</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_source_win32a</b>() and
- <b class="Fn" title="Fn">zip_source_win32a_create</b>() fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_source_win32a</code>() and
+ <code class="Fn" title="Fn">zip_source_win32a_create</code>() fail if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">fname</var>,
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">fname</var>,
<var class="Ar" title="Ar">start</var>, or
<var class="Ar" title="Ar">len</var> are invalid.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
- <dd class="It-tag">Opening <var class="Ar" title="Ar">fname</var> failed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
+ <dd>Opening <var class="Ar" title="Ar">fname</var> failed.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_add.html">zip_add(3)</a>,
@@ -129,11 +124,11 @@
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
<a class="Xr" title="Xr" href="zip_source_win32handle.html">zip_source_win32handle(3)</a>,
<a class="Xr" title="Xr" href="zip_source_win32w.html">zip_source_win32w(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_win32a</b>() and
- <b class="Fn" title="Fn">zip_source_win32a_create</b>() were added in libzip
- 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_win32a</code>() and
+ <code class="Fn" title="Fn">zip_source_win32a_create</code>() were added in
+ libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -141,7 +136,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_win32handle.html b/man/zip_source_win32handle.html
index f4fc9c7..f6fdcde 100644
--- a/man/zip_source_win32handle.html
+++ b/man/zip_source_win32handle.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_WIN32HANDLE(3)</title>
</head>
@@ -52,19 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_win32handle</b>,
- <b class="Nm" title="Nm">zip_source_win32handle_create</b> —
- <span class="Nd" title="Nd">create data source from a Windows file
- handle</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_win32handle</code>,
+ <code class="Nm" title="Nm">zip_source_win32handle_create</code> —
+<div class="Nd" title="Nd">create data source from a Windows file handle</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_win32handle</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_source_win32handle</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">HANDLE
h</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
start</var>,
@@ -73,16 +67,16 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_win32handle_create</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">HANDLE
+<code class="Fn" title="Fn">zip_source_win32handle_create</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">HANDLE
h</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
start</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_int64_t len</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The functions <b class="Fn" title="Fn">zip_source_win32handle</b>() and
- <b class="Fn" title="Fn">zip_source_win32handle_create</b>() create a zip
- source from a Windows file handle. They open
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The functions <code class="Fn" title="Fn">zip_source_win32handle</code>() and
+ <code class="Fn" title="Fn">zip_source_win32handle_create</code>() create a
+ zip source from a Windows file handle. They open
<var class="Ar" title="Ar">fname</var> and read
<var class="Ar" title="Ar">len</var> bytes from offset
<var class="Ar" title="Ar">start</var> from it. If
@@ -92,34 +86,34 @@
If the file supports seek, the source can be used to open a zip archive from.
<div class="Pp"></div>
The file is opened and read when the data from the source is used, usually by
- <b class="Fn" title="Fn">zip_close</b>() or
- <b class="Fn" title="Fn">zip_open_from_source</b>().
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+ <code class="Fn" title="Fn">zip_close</code>() or
+ <code class="Fn" title="Fn">zip_open_from_source</code>().
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the created source is returned. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> or
<var class="Ar" title="Ar">error</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_source_w32handle</b>() and
- <b class="Fn" title="Fn">zip_source_w32handle_create</b>() fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_source_w32handle</code>() and
+ <code class="Fn" title="Fn">zip_source_w32handle_create</code>() fail if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">fname</var>,
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">fname</var>,
<var class="Ar" title="Ar">start</var>, or
<var class="Ar" title="Ar">len</var> are invalid.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
- <dd class="It-tag">Opening <var class="Ar" title="Ar">fname</var> failed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
+ <dd>Opening <var class="Ar" title="Ar">fname</var> failed.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_add.html">zip_add(3)</a>,
@@ -127,11 +121,11 @@
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
<a class="Xr" title="Xr" href="zip_source_win32a.html">zip_source_win32a(3)</a>,
<a class="Xr" title="Xr" href="zip_source_win32w.html">zip_source_win32w(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_win32handle</b>() and
- <b class="Fn" title="Fn">zip_source_win32handle_create</b>() were added in
- libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_win32handle</code>() and
+ <code class="Fn" title="Fn">zip_source_win32handle_create</code>() were added
+ in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -139,7 +133,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_win32w.html b/man/zip_source_win32w.html
index fe60be7..c7c4ab4 100644
--- a/man/zip_source_win32w.html
+++ b/man/zip_source_win32w.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_WIN32W(3)</title>
</head>
@@ -52,19 +46,20 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_win32w</b>,
- <b class="Nm" title="Nm">zip_source_win32w_create</b> —
- <span class="Nd" title="Nd">create data source from a Windows Unicode file
- name</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_win32w</code>,
+ <code class="Nm" title="Nm">zip_source_win32w_create</code> —
+<div class="Nd" title="Nd">create data source from a Windows Unicode file
+ name</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_win32w</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_source_win32w</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *fname</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
@@ -74,17 +69,17 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_win32w_create</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
+<code class="Fn" title="Fn">zip_source_win32w_create</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">const
char *fname</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
start</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_int64_t len</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_error_t
*error</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The functions <b class="Fn" title="Fn">zip_source_win32w</b>() and
- <b class="Fn" title="Fn">zip_source_win32w_create</b>() create a zip source on
- Windows using a Windows Unicode name. They open
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The functions <code class="Fn" title="Fn">zip_source_win32w</code>() and
+ <code class="Fn" title="Fn">zip_source_win32w_create</code>() create a zip
+ source on Windows using a Windows Unicode name. They open
<var class="Ar" title="Ar">fname</var> and read
<var class="Ar" title="Ar">len</var> bytes from offset
<var class="Ar" title="Ar">start</var> from it. If
@@ -94,34 +89,34 @@
If the file supports seek, the source can be used to open a zip archive from.
<div class="Pp"></div>
The file is opened and read when the data from the source is used, usually by
- <b class="Fn" title="Fn">zip_close</b>() or
- <b class="Fn" title="Fn">zip_open_from_source</b>().
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+ <code class="Fn" title="Fn">zip_close</code>() or
+ <code class="Fn" title="Fn">zip_open_from_source</code>().
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the created source is returned. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> or
<var class="Ar" title="Ar">error</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_source_win32w</b>() and
- <b class="Fn" title="Fn">zip_source_win32w_create</b>() fail if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_source_win32w</code>() and
+ <code class="Fn" title="Fn">zip_source_win32w_create</code>() fail if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">fname</var>,
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">fname</var>,
<var class="Ar" title="Ar">start</var>, or
<var class="Ar" title="Ar">len</var> are invalid.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
- <dd class="It-tag">Opening <var class="Ar" title="Ar">fname</var> failed.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_OPEN"><code class="Er" title="Er" id="ZIP_ER_OPEN">ZIP_ER_OPEN</code></a>]</dt>
+ <dd>Opening <var class="Ar" title="Ar">fname</var> failed.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_add.html">zip_add(3)</a>,
@@ -129,9 +124,9 @@
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
<a class="Xr" title="Xr" href="zip_source_win32a.html">zip_source_win32a(3)</a>,
<a class="Xr" title="Xr" href="zip_source_win32handle.html">zip_source_win32handle(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_win32w</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_win32w</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -139,7 +134,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_write.html b/man/zip_source_write.html
index 23bbe14..3407b87 100644
--- a/man/zip_source_write.html
+++ b/man/zip_source_write.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_WRITE(3)</title>
</head>
@@ -52,23 +46,24 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_write</b> —
- <span class="Nd" title="Nd">write data to zip source</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_write</code> —
+<div class="Nd" title="Nd">write data to zip source</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_int64_t</var>
<br/>
-<b class="Fn" title="Fn">zip_source_write</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
+<code class="Fn" title="Fn">zip_source_write</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_source_t
*source</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
void *data</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
len</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_write</b>() writes
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_write</code>() writes
<var class="Ar" title="Ar">len</var> bytes from the buffer
<var class="Ar" title="Ar">data</var> to the zip source
<var class="Ar" title="Ar">source</var> at the current write offset.
@@ -77,12 +72,12 @@
writing by calling
<a class="Xr" title="Xr" href="zip_source_begin_write.html">zip_source_begin_write(3)</a>
first.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion the number of bytes written is returned. Otherwise,
-1 is returned and the error information in
<var class="Ar" title="Ar">source</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>,
@@ -91,9 +86,9 @@
<a class="Xr" title="Xr" href="zip_source_rollback_write.html">zip_source_rollback_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_seek_write.html">zip_source_seek_write(3)</a>,
<a class="Xr" title="Xr" href="zip_source_tell_write.html">zip_source_tell_write(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_write</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_write</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -101,7 +96,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_source_zip.html b/man/zip_source_zip.html
index 6d315c4..9ac90a3 100644
--- a/man/zip_source_zip.html
+++ b/man/zip_source_zip.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_SOURCE_ZIP(3)</title>
</head>
@@ -52,17 +46,18 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_source_zip</b> —
- <span class="Nd" title="Nd">create data source from zip file</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_source_zip</code> —
+<div class="Nd" title="Nd">create data source from zip file</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">zip_source_t *</var>
<br/>
-<b class="Fn" title="Fn">zip_source_zip</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_source_zip</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*srcarchive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
@@ -73,10 +68,11 @@
start</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_int64_t
len</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <b class="Fn" title="Fn">zip_source_zip</b>() creates a zip source
- from a file in a zip archive. The <var class="Ar" title="Ar">srcarchive</var>
- argument is the (open) zip archive containing the source zip file at index
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The function <code class="Fn" title="Fn">zip_source_zip</code>() creates a zip
+ source from a file in a zip archive. The
+ <var class="Ar" title="Ar">srcarchive</var> argument is the (open) zip archive
+ containing the source zip file at index
<var class="Ar" title="Ar">srcidx</var>. <var class="Ar" title="Ar">len</var>
bytes from offset <var class="Ar" title="Ar">start</var> will be used in the
zip_source. If <var class="Ar" title="Ar">len</var> is 0 or -1, the rest of
@@ -87,55 +83,54 @@
<div class="Pp"></div>
Supported flags are:
<dl class="Bl-tag" style="margin-left: 28.20ex;">
- <dt class="It-tag" style="margin-left: -28.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -28.20ex;"><a class="selflink" href="#ZIP_FL_UNCHANGED"><code class="Dv" title="Dv" id="ZIP_FL_UNCHANGED">ZIP_FL_UNCHANGED</code></a></dt>
- <dd class="It-tag">Try to get the original data without any changes that may
- have been made to <var class="Ar" title="Ar">srcarchive</var> after
- opening it.</dd>
- <dt class="It-tag" style="margin-left: -28.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -28.20ex;"><a class="selflink" href="#ZIP_FL_RECOMPRESS"><code class="Dv" title="Dv" id="ZIP_FL_RECOMPRESS">ZIP_FL_RECOMPRESS</code></a></dt>
- <dd class="It-tag">When adding the data from
- <var class="Ar" title="Ar">srcarchive</var>, re-compress it using the
- current settings instead of copying the compressed data.</dd>
+ <dt style="margin-left: -28.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -28.20ex;"><a class="permalink" href="#ZIP_FL_UNCHANGED"><code class="Dv" title="Dv" id="ZIP_FL_UNCHANGED">ZIP_FL_UNCHANGED</code></a></dt>
+ <dd>Try to get the original data without any changes that may have been made
+ to <var class="Ar" title="Ar">srcarchive</var> after opening it.</dd>
+ <dt style="margin-left: -28.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -28.20ex;"><a class="permalink" href="#ZIP_FL_RECOMPRESS"><code class="Dv" title="Dv" id="ZIP_FL_RECOMPRESS">ZIP_FL_RECOMPRESS</code></a></dt>
+ <dd>When adding the data from <var class="Ar" title="Ar">srcarchive</var>,
+ re-compress it using the current settings instead of copying the
+ compressed data.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion, the created source is returned. Otherwise,
<code class="Dv" title="Dv">NULL</code> is returned and the error code in
<var class="Ar" title="Ar">archive</var> is set to indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_source_zip</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_source_zip</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_CHANGED"><code class="Er" title="Er" id="ZIP_ER_CHANGED">ZIP_ER_CHANGED</code></a>]</dt>
- <dd class="It-tag">Unchanged data was requested, but it is not available.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">srcarchive</var>,
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_CHANGED"><code class="Er" title="Er" id="ZIP_ER_CHANGED">ZIP_ER_CHANGED</code></a>]</dt>
+ <dd>Unchanged data was requested, but it is not available.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">srcarchive</var>,
<var class="Ar" title="Ar">srcidx</var>,
<var class="Ar" title="Ar">start</var>, or
<var class="Ar" title="Ar">len</var> are invalid.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
- <dd class="It-tag">Required memory could not be allocated.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" title="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+ <dd>Required memory could not be allocated.</dd>
</dl>
Additionally, it can return all error codes from
- <b class="Fn" title="Fn">zip_stat_index</b>() and
- <b class="Fn" title="Fn">zip_fopen_index</b>().
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+ <code class="Fn" title="Fn">zip_stat_index</code>() and
+ <code class="Fn" title="Fn">zip_fopen_index</code>().
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_add.html">zip_add(3)</a>,
<a class="Xr" title="Xr" href="zip_replace.html">zip_replace(3)</a>,
<a class="Xr" title="Xr" href="zip_source.html">zip_source(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_source_zip</b>() was added in libzip 1.0.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_source_zip</code>() was added in libzip 1.0.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -143,7 +138,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_stat.html b/man/zip_stat.html
index ab5a754..b3d3220 100644
--- a/man/zip_stat.html
+++ b/man/zip_stat.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_STAT(3)</title>
</head>
@@ -52,18 +46,19 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_stat</b>,
- <b class="Nm" title="Nm">zip_stat_index</b> —
- <span class="Nd" title="Nd">get information about file</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_stat</code>,
+ <code class="Nm" title="Nm">zip_stat_index</code> —
+<div class="Nd" title="Nd">get information about file</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_stat</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_stat</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>, <var class="Fa" title="Fa" style="white-space: nowrap;">const
char *fname</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
@@ -72,16 +67,16 @@
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_stat_index</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_stat_index</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_flags_t
flags</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_stat_t *sb</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_stat</b>() function obtains information about
- the file named <var class="Ar" title="Ar">fname</var> in
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_stat</code>() function obtains information
+ about the file named <var class="Ar" title="Ar">fname</var> in
<var class="Ar" title="Ar">archive</var>. The
<var class="Ar" title="Ar">flags</var> argument specifies how the name lookup
should be done. Its values are described in
@@ -90,8 +85,8 @@
<i class="Em" title="Em">or</i><span class="No">'ed</span> to it to request
information about the original file in the archive, ignoring any changes made.
<div class="Pp"></div>
-The <b class="Fn" title="Fn">zip_stat_index</b>() function obtains information
- about the file at position <var class="Ar" title="Ar">index</var>.
+The <code class="Fn" title="Fn">zip_stat_index</code>() function obtains
+ information about the file at position <var class="Ar" title="Ar">index</var>.
<div class="Pp"></div>
The <var class="Ar" title="Ar">sb</var> argument is a pointer to a
<var class="Ft" title="Ft">struct zip_stat</var> (shown below), into which
@@ -114,8 +109,8 @@
</pre>
</div>
The structure pointed to by <var class="Ar" title="Ar">sb</var> must be
- allocated before calling <b class="Fn" title="Fn">zip_stat</b>() or
- <b class="Fn" title="Fn">zip_stat_index</b>().
+ allocated before calling <code class="Fn" title="Fn">zip_stat</code>() or
+ <code class="Fn" title="Fn">zip_stat_index</code>().
<div class="Pp"></div>
The <var class="Ar" title="Ar">valid</var> field of the structure specifies
which other fields are valid. Check if the flag defined by the following
@@ -123,62 +118,62 @@
fields:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag Bl-compact" style="margin-left: 36.60ex;">
- <dt class="It-tag" style="margin-left: -36.60ex;"><a class="selflink" href="#ZIP_STAT_NAME"><code class="Dv" title="Dv" id="ZIP_STAT_NAME">ZIP_STAT_NAME</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">name</var></dd>
- <dt class="It-tag" style="margin-left: -36.60ex;"><a class="selflink" href="#ZIP_STAT_INDEX"><code class="Dv" title="Dv" id="ZIP_STAT_INDEX">ZIP_STAT_INDEX</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var></dd>
- <dt class="It-tag" style="margin-left: -36.60ex;"><a class="selflink" href="#ZIP_STAT_SIZE"><code class="Dv" title="Dv" id="ZIP_STAT_SIZE">ZIP_STAT_SIZE</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">size</var></dd>
- <dt class="It-tag" style="margin-left: -36.60ex;"><a class="selflink" href="#ZIP_STAT_COMP_SIZE"><code class="Dv" title="Dv" id="ZIP_STAT_COMP_SIZE">ZIP_STAT_COMP_SIZE</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">comp_size</var></dd>
- <dt class="It-tag" style="margin-left: -36.60ex;"><a class="selflink" href="#ZIP_STAT_MTIME"><code class="Dv" title="Dv" id="ZIP_STAT_MTIME">ZIP_STAT_MTIME</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">mtime</var></dd>
- <dt class="It-tag" style="margin-left: -36.60ex;"><a class="selflink" href="#ZIP_STAT_CRC"><code class="Dv" title="Dv" id="ZIP_STAT_CRC">ZIP_STAT_CRC</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">crc</var></dd>
- <dt class="It-tag" style="margin-left: -36.60ex;"><a class="selflink" href="#ZIP_STAT_COMP_METHOD"><code class="Dv" title="Dv" id="ZIP_STAT_COMP_METHOD">ZIP_STAT_COMP_METHOD</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">comp_method</var></dd>
- <dt class="It-tag" style="margin-left: -36.60ex;"><a class="selflink" href="#ZIP_STAT_ENCRYPTION_METHOD"><code class="Dv" title="Dv" id="ZIP_STAT_ENCRYPTION_METHOD">ZIP_STAT_ENCRYPTION_METHOD</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">encryption_method</var></dd>
- <dt class="It-tag" style="margin-left: -36.60ex;"><a class="selflink" href="#ZIP_STAT_FLAGS"><code class="Dv" title="Dv" id="ZIP_STAT_FLAGS">ZIP_STAT_FLAGS</code></a></dt>
- <dd class="It-tag"><var class="Ar" title="Ar">flags</var></dd>
+ <dt style="margin-left: -36.60ex;"><a class="permalink" href="#ZIP_STAT_NAME"><code class="Dv" title="Dv" id="ZIP_STAT_NAME">ZIP_STAT_NAME</code></a></dt>
+ <dd><var class="Ar" title="Ar">name</var></dd>
+ <dt style="margin-left: -36.60ex;"><a class="permalink" href="#ZIP_STAT_INDEX"><code class="Dv" title="Dv" id="ZIP_STAT_INDEX">ZIP_STAT_INDEX</code></a></dt>
+ <dd><var class="Ar" title="Ar">index</var></dd>
+ <dt style="margin-left: -36.60ex;"><a class="permalink" href="#ZIP_STAT_SIZE"><code class="Dv" title="Dv" id="ZIP_STAT_SIZE">ZIP_STAT_SIZE</code></a></dt>
+ <dd><var class="Ar" title="Ar">size</var></dd>
+ <dt style="margin-left: -36.60ex;"><a class="permalink" href="#ZIP_STAT_COMP_SIZE"><code class="Dv" title="Dv" id="ZIP_STAT_COMP_SIZE">ZIP_STAT_COMP_SIZE</code></a></dt>
+ <dd><var class="Ar" title="Ar">comp_size</var></dd>
+ <dt style="margin-left: -36.60ex;"><a class="permalink" href="#ZIP_STAT_MTIME"><code class="Dv" title="Dv" id="ZIP_STAT_MTIME">ZIP_STAT_MTIME</code></a></dt>
+ <dd><var class="Ar" title="Ar">mtime</var></dd>
+ <dt style="margin-left: -36.60ex;"><a class="permalink" href="#ZIP_STAT_CRC"><code class="Dv" title="Dv" id="ZIP_STAT_CRC">ZIP_STAT_CRC</code></a></dt>
+ <dd><var class="Ar" title="Ar">crc</var></dd>
+ <dt style="margin-left: -36.60ex;"><a class="permalink" href="#ZIP_STAT_COMP_METHOD"><code class="Dv" title="Dv" id="ZIP_STAT_COMP_METHOD">ZIP_STAT_COMP_METHOD</code></a></dt>
+ <dd><var class="Ar" title="Ar">comp_method</var></dd>
+ <dt style="margin-left: -36.60ex;"><a class="permalink" href="#ZIP_STAT_ENCRYPTION_METHOD"><code class="Dv" title="Dv" id="ZIP_STAT_ENCRYPTION_METHOD">ZIP_STAT_ENCRYPTION_METHOD</code></a></dt>
+ <dd><var class="Ar" title="Ar">encryption_method</var></dd>
+ <dt style="margin-left: -36.60ex;"><a class="permalink" href="#ZIP_STAT_FLAGS"><code class="Dv" title="Dv" id="ZIP_STAT_FLAGS">ZIP_STAT_FLAGS</code></a></dt>
+ <dd><var class="Ar" title="Ar">flags</var></dd>
</dl>
</div>
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error information in <var class="Ar" title="Ar">archive</var> is set to
indicate the error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-The function <b class="Fn" title="Fn">zip_stat</b>() can fail for any of the
- errors specified for the routine
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+The function <code class="Fn" title="Fn">zip_stat</code>() can fail for any of
+ the errors specified for the routine
<a class="Xr" title="Xr" href="zip_name_locate.html">zip_name_locate(3)</a>.
<div class="Pp"></div>
-The function <b class="Fn" title="Fn">zip_stat_index</b>() fails and sets the
- error information to <code class="Er" title="Er">ZIP_ER_INVAL</code> if
+The function <code class="Fn" title="Fn">zip_stat_index</code>() fails and sets
+ the error information to <code class="Er" title="Er">ZIP_ER_INVAL</code> if
<var class="Ar" title="Ar">index</var> is invalid. If
<code class="Dv" title="Dv">ZIP_FL_UNCHANGED</code> is not set and no
information can be obtained from the source callback, the error information is
set to <code class="Er" title="Er">ZIP_ER_CHANGED</code>.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_get_num_entries.html">zip_get_num_entries(3)</a>,
<a class="Xr" title="Xr" href="zip_name_locate.html">zip_name_locate(3)</a>,
<a class="Xr" title="Xr" href="zip_stat_init.html">zip_stat_init(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_stat</b>() was added in libzip 0.6. In libzip 0.11
- the type of <var class="Ar" title="Ar">flags</var> was changed from
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_stat</code>() was added in libzip 0.6. In libzip
+ 0.11 the type of <var class="Ar" title="Ar">flags</var> was changed from
<var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_flags_t</var>.
<div class="Pp"></div>
-<b class="Fn" title="Fn">zip_stat_index</b>() was added in libzip 0.6. In libzip
- 0.10 the type of <var class="Ar" title="Ar">index</var> was changed from
- <var class="Vt" title="Vt">int</var> to
+<code class="Fn" title="Fn">zip_stat_index</code>() was added in libzip 0.6. In
+ libzip 0.10 the type of <var class="Ar" title="Ar">index</var> was changed
+ from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_uint64_t</var>. In libzip 0.11 the type of
<var class="Ar" title="Ar">flags</var> was changed from
<var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_flags_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -186,7 +181,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_stat_init.html b/man/zip_stat_init.html
index b4cb0e9..eb52866 100644
--- a/man/zip_stat_init.html
+++ b/man/zip_stat_init.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_STAT_INIT(3)</title>
</head>
@@ -52,41 +46,42 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_stat_init</b> —
- <span class="Nd" title="Nd">initialize zip_stat structure</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_stat_init</code> —
+<div class="Nd" title="Nd">initialize zip_stat structure</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">void</var>
<br/>
-<b class="Fn" title="Fn">zip_stat_init</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_stat_t
+<code class="Fn" title="Fn">zip_stat_init</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_stat_t
*sb</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The <b class="Fn" title="Fn">zip_stat_init</b>() function initializes the
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn" title="Fn">zip_stat_init</code>() function initializes the
members of a struct zip_stat. The current members are described in
<a class="Xr" title="Xr" href="zip_stat.html">zip_stat(3)</a>, but this
function should be used to initialize it to make sure none are missed. The
structure pointed to by <var class="Ar" title="Ar">sb</var> must be allocated
- before calling <b class="Fn" title="Fn">zip_stat_init</b>().
+ before calling <code class="Fn" title="Fn">zip_stat_init</code>().
<div class="Pp"></div>
This function should be used by functions provided to
<a class="Xr" title="Xr" href="zip_source_function.html">zip_source_function(3)</a>
when returning <code class="Dv" title="Dv">ZIP_SOURCE_STAT</code> information
to make sure all fields are initialized.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
If <var class="Ar" title="Ar">sb</var> is valid, the function is always
successful.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_stat.html">zip_stat(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_stat_init</b>() was added in libzip 0.8.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_stat_init</code>() was added in libzip 0.8.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -94,7 +89,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_unchange.html b/man/zip_unchange.html
index 36e04cc..d8f8da7 100644
--- a/man/zip_unchange.html
+++ b/man/zip_unchange.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_UNCHANGE(3)</title>
</head>
@@ -52,53 +46,53 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_unchange</b> —
- <span class="Nd" title="Nd">undo changes to file in zip archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_unchange</code> —
+<div class="Nd" title="Nd">undo changes to file in zip archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_unchange</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_unchange</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>,
<var class="Fa" title="Fa" style="white-space: nowrap;">zip_uint64_t
index</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
Changes to the file at position <var class="Ar" title="Ar">index</var> are
reverted.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error code in <var class="Ar" title="Ar">archive</var> is set to indicate the
error.
-<h1 class="Sh" title="Sh" id="ERRORS"><a class="selflink" href="#ERRORS">ERRORS</a></h1>
-<b class="Fn" title="Fn">zip_unchange</b>() fails if:
+<h1 class="Sh" title="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn" title="Fn">zip_unchange</code>() fails if:
<dl class="Bl-tag" style="margin-left: 23.40ex;">
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_EXISTS"><code class="Er" title="Er" id="ZIP_ER_EXISTS">ZIP_ER_EXISTS</code></a>]</dt>
- <dd class="It-tag">Unchanging the name would result in a duplicate name in the
- archive.</dd>
- <dt class="It-tag" style="margin-left: -23.40ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -23.40ex;">[<a class="selflink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
- <dd class="It-tag"><var class="Ar" title="Ar">index</var> is not a valid file
- index in <var class="Ar" title="Ar">zip</var>.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_EXISTS"><code class="Er" title="Er" id="ZIP_ER_EXISTS">ZIP_ER_EXISTS</code></a>]</dt>
+ <dd>Unchanging the name would result in a duplicate name in the archive.</dd>
+ <dt style="margin-left: -23.40ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -23.40ex;">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" title="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+ <dd><var class="Ar" title="Ar">index</var> is not a valid file index in
+ <var class="Ar" title="Ar">zip</var>.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_unchange_all.html">zip_unchange_all(3)</a>,
<a class="Xr" title="Xr" href="zip_unchange_archive.html">zip_unchange_archive(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_unchange</b>() was added in libzip 0.6. In libzip
- 0.10 the type of <var class="Ar" title="Ar">index</var> was changed from
- <var class="Vt" title="Vt">int</var> to
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_unchange</code>() was added in libzip 0.6. In
+ libzip 0.10 the type of <var class="Ar" title="Ar">index</var> was changed
+ from <var class="Vt" title="Vt">int</var> to
<var class="Vt" title="Vt">zip_uint64_t</var>.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -106,7 +100,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_unchange_all.html b/man/zip_unchange_all.html
index 322fc4e..f415449 100644
--- a/man/zip_unchange_all.html
+++ b/man/zip_unchange_all.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_UNCHANGE_ALL(3)</title>
</head>
@@ -52,34 +46,35 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_unchange_all</b> —
- <span class="Nd" title="Nd">undo all changes in a zip archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_unchange_all</code> —
+<div class="Nd" title="Nd">undo all changes in a zip archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_unchange_all</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_unchange_all</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
All changes to files and global information in
<var class="Ar" title="Ar">archive</var> are reverted.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error code in <var class="Ar" title="Ar">archive</var> is set to indicate the
error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_unchange.html">zip_unchange(3)</a>,
<a class="Xr" title="Xr" href="zip_unchange_archive.html">zip_unchange_archive(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_unchange_all</b>() was added in libzip 0.6.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_unchange_all</code>() was added in libzip 0.6.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -87,7 +82,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zip_unchange_archive.html b/man/zip_unchange_archive.html
index 46baef9..86bd08a 100644
--- a/man/zip_unchange_archive.html
+++ b/man/zip_unchange_archive.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIP_UNCHANGE_ARCHIVE(3)</title>
</head>
@@ -52,35 +46,37 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zip_unchange_archive</b> —
- <span class="Nd" title="Nd">undo global changes to zip archive</span>
-<h1 class="Sh" title="Sh" id="LIBRARY"><a class="selflink" href="#LIBRARY">LIBRARY</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zip_unchange_archive</code> —
+<div class="Nd" title="Nd">undo global changes to zip archive</div>
+<h1 class="Sh" title="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
libzip (-lzip)
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<b class="In" title="In">#include <<a class="In" title="In">zip.h</a>></b>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In" title="In">#include
+ <<a class="In" title="In">zip.h</a>></code>
<div class="Pp"></div>
<var class="Ft" title="Ft">int</var>
<br/>
-<b class="Fn" title="Fn">zip_unchange_archive</b>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
+<code class="Fn" title="Fn">zip_unchange_archive</code>(<var class="Fa" title="Fa" style="white-space: nowrap;">zip_t
*archive</var>);
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
Revert all global changes to the archive
<var class="Ar" title="Ar">archive</var>. This reverts changes to the archive
comment and global flags.
-<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="selflink" href="#RETURN_VALUES">RETURN
+<h1 class="Sh" title="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
VALUES</a></h1>
Upon successful completion 0 is returned. Otherwise, -1 is returned and the
error code in <var class="Ar" title="Ar">archive</var> is set to indicate the
error.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>,
<a class="Xr" title="Xr" href="zip_unchange.html">zip_unchange(3)</a>,
<a class="Xr" title="Xr" href="zip_unchange_all.html">zip_unchange_all(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Fn" title="Fn">zip_unchange_archive</b>() was added in libzip 0.7.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn" title="Fn">zip_unchange_archive</code>() was added in libzip
+ 0.7.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -88,7 +84,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zipcmp.html b/man/zipcmp.html
index acf917d..97282a3 100644
--- a/man/zipcmp.html
+++ b/man/zipcmp.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIPCMP(1)</title>
</head>
@@ -52,71 +46,69 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zipcmp</b> — <span class="Nd" title="Nd">compare
- contents of zip archives</span>
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zipcmp</code> —
+<div class="Nd" title="Nd">compare contents of zip archives</div>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<table class="Nm">
<tr>
- <td><b class="Nm" title="Nm">zipcmp</b></td>
- <td>[<span class="Op"><b class="Fl" title="Fl">-hipqtVv</b></span>]
+ <td><code class="Nm" title="Nm">zipcmp</code></td>
+ <td>[<div class="Op"><code class="Fl" title="Fl">-hipqtVv</code></div>]
<var class="Ar" title="Ar">archive1 archive2</var></td>
</tr>
</table>
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<b class="Nm" title="Nm">zipcmp</b> compares the zip archives or directories
- <var class="Ar" title="Ar">archive1</var> and
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<code class="Nm" title="Nm">zipcmp</code> compares the zip archives or
+ directories <var class="Ar" title="Ar">archive1</var> and
<var class="Ar" title="Ar">archive2</var> and checks if they contain the same
files, comparing their names, uncompressed sizes, and CRCs. File order and
compressed size differences are ignored.
<div class="Pp"></div>
Supported options:
<dl class="Bl-tag" style="margin-left: 6.60ex;">
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#h"><b class="Fl" title="Fl" id="h">-h</b></a></dt>
- <dd class="It-tag">Display a short help message and exit.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#i"><b class="Fl" title="Fl" id="i">-i</b></a></dt>
- <dd class="It-tag">Compare names ignoring case distinctions.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#p"><b class="Fl" title="Fl" id="p">-p</b></a></dt>
- <dd class="It-tag">Enable paranoid checks. Compares extra fields and other
- meta data. (Automatically disabled if one of the archives is a
- directory.)</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#q"><b class="Fl" title="Fl" id="q">-q</b></a></dt>
- <dd class="It-tag">Quiet mode. Compare <b class="Fl" title="Fl">-v</b>.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#t"><b class="Fl" title="Fl" id="t">-t</b></a></dt>
- <dd class="It-tag">Test zip files by comparing the contents to their
- checksums.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#V"><b class="Fl" title="Fl" id="V">-V</b></a></dt>
- <dd class="It-tag">Display version information and exit.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#v"><b class="Fl" title="Fl" id="v">-v</b></a></dt>
- <dd class="It-tag">Verbose mode. Print details about differences to stdout.
- (This is the default.)</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#h"><code class="Fl" title="Fl" id="h">-h</code></a></dt>
+ <dd>Display a short help message and exit.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#i"><code class="Fl" title="Fl" id="i">-i</code></a></dt>
+ <dd>Compare names ignoring case distinctions.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#p"><code class="Fl" title="Fl" id="p">-p</code></a></dt>
+ <dd>Enable paranoid checks. Compares extra fields and other meta data.
+ (Automatically disabled if one of the archives is a directory.)</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#q"><code class="Fl" title="Fl" id="q">-q</code></a></dt>
+ <dd>Quiet mode. Compare <code class="Fl" title="Fl">-v</code>.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#t"><code class="Fl" title="Fl" id="t">-t</code></a></dt>
+ <dd>Test zip files by comparing the contents to their checksums.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#V"><code class="Fl" title="Fl" id="V">-V</code></a></dt>
+ <dd>Display version information and exit.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#v"><code class="Fl" title="Fl" id="v">-v</code></a></dt>
+ <dd>Verbose mode. Print details about differences to stdout. (This is the
+ default.)</dd>
</dl>
-<h1 class="Sh" title="Sh" id="EXIT_STATUS"><a class="selflink" href="#EXIT_STATUS">EXIT
+<h1 class="Sh" title="Sh" id="EXIT_STATUS"><a class="permalink" href="#EXIT_STATUS">EXIT
STATUS</a></h1>
-<b class="Nm" title="Nm">zipcmp</b> exits 0 if the two archives contain the same
- files, 1 if they differ, and >1 if an error occurred.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<code class="Nm" title="Nm">zipcmp</code> exits 0 if the two archives contain
+ the same files, 1 if they differ, and >1 if an error occurred.
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="zipmerge.html">zipmerge(1)</a>,
<a class="Xr" title="Xr" href="ziptool.html">ziptool(1)</a>,
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Nm" title="Nm">zipcmp</b> was added in libzip 0.6.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Nm" title="Nm">zipcmp</code> was added in libzip 0.6.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -124,7 +116,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/zipmerge.html b/man/zipmerge.html
index 718be63..68a2baa 100644
--- a/man/zipmerge.html
+++ b/man/zipmerge.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIPMERGE(1)</title>
</head>
@@ -52,22 +46,22 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">zipmerge</b> — <span class="Nd" title="Nd">merge
- zip archives</span>
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">zipmerge</code> —
+<div class="Nd" title="Nd">merge zip archives</div>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<table class="Nm">
<tr>
- <td><b class="Nm" title="Nm">zipmerge</b></td>
- <td>[<span class="Op"><b class="Fl" title="Fl">-DhIiSsV</b></span>]
+ <td><code class="Nm" title="Nm">zipmerge</code></td>
+ <td>[<div class="Op"><code class="Fl" title="Fl">-DhIiSsV</code></div>]
<var class="Ar" title="Ar">target-zip</var>
<var class="Ar" title="Ar">source-zip</var>
- [<span class="Op"><var class="Ar" title="Ar">source-zip
- ...</var></span>]</td>
+ [<div class="Op"><var class="Ar" title="Ar">source-zip
+ ...</var></div>]</td>
</tr>
</table>
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<b class="Nm" title="Nm">zipmerge</b> merges the source zip archives
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<code class="Nm" title="Nm">zipmerge</code> merges the source zip archives
<var class="Ar" title="Ar">source-zip</var> into the target zip archive
<var class="Ar" title="Ar">target-zip</var>. By default, files in the source
zip archives overwrite existing files of the same name in the target zip
@@ -75,52 +69,52 @@
<div class="Pp"></div>
Supported options:
<dl class="Bl-tag" style="margin-left: 6.60ex;">
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#D"><b class="Fl" title="Fl" id="D">-D</b></a></dt>
- <dd class="It-tag">Ignore directory components in file name comparisons. This
- option is slow for archives with many files.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#h"><b class="Fl" title="Fl" id="h">-h</b></a></dt>
- <dd class="It-tag">Display a short help message and exit.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#I"><b class="Fl" title="Fl" id="I">-I</b></a></dt>
- <dd class="It-tag">Ignore case in file name comparisons This option is slow
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#D"><code class="Fl" title="Fl" id="D">-D</code></a></dt>
+ <dd>Ignore directory components in file name comparisons. This option is slow
for archives with many files.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#i"><b class="Fl" title="Fl" id="i">-i</b></a></dt>
- <dd class="It-tag">Ask before overwriting files. See also
- <b class="Fl" title="Fl">-s</b>.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#S"><b class="Fl" title="Fl" id="S">-S</b></a></dt>
- <dd class="It-tag">Do not overwrite files that have the same size and CRC32 in
- both the source and target archives.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#s"><b class="Fl" title="Fl" id="s">-s</b></a></dt>
- <dd class="It-tag">When <b class="Fl" title="Fl">-i</b> is given, do not
- before overwriting files that have the same size and CRC32.</dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><a class="selflink" href="#V"><b class="Fl" title="Fl" id="V">-V</b></a></dt>
- <dd class="It-tag">Display version information and exit.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#h"><code class="Fl" title="Fl" id="h">-h</code></a></dt>
+ <dd>Display a short help message and exit.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#I"><code class="Fl" title="Fl" id="I">-I</code></a></dt>
+ <dd>Ignore case in file name comparisons This option is slow for archives with
+ many files.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#i"><code class="Fl" title="Fl" id="i">-i</code></a></dt>
+ <dd>Ask before overwriting files. See also
+ <code class="Fl" title="Fl">-s</code>.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#S"><code class="Fl" title="Fl" id="S">-S</code></a></dt>
+ <dd>Do not overwrite files that have the same size and CRC32 in both the
+ source and target archives.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#s"><code class="Fl" title="Fl" id="s">-s</code></a></dt>
+ <dd>When <code class="Fl" title="Fl">-i</code> is given, do not before
+ overwriting files that have the same size and CRC32.</dd>
+ <dt style="margin-left: -6.60ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -6.60ex;"><a class="permalink" href="#V"><code class="Fl" title="Fl" id="V">-V</code></a></dt>
+ <dd>Display version information and exit.</dd>
</dl>
-<h1 class="Sh" title="Sh" id="EXIT_STATUS"><a class="selflink" href="#EXIT_STATUS">EXIT
+<h1 class="Sh" title="Sh" id="EXIT_STATUS"><a class="permalink" href="#EXIT_STATUS">EXIT
STATUS</a></h1>
-<b class="Nm" title="Nm">zipmerge</b> exits 0 on success and >1 if an error
- occurred.
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<code class="Nm" title="Nm">zipmerge</code> exits 0 on success and >1 if an
+ error occurred.
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="zipcmp.html">zipcmp(1)</a>,
<a class="Xr" title="Xr" href="ziptool.html">ziptool(1)</a>,
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Nm" title="Nm">zipmerge</b> was added in libzip 0.6.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Nm" title="Nm">zipmerge</code> was added in libzip 0.6.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -128,7 +122,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>
diff --git a/man/ziptool.html b/man/ziptool.html
index 0f09566..76801f4 100644
--- a/man/ziptool.html
+++ b/man/ziptool.html
@@ -34,12 +34,6 @@
-->
<head>
<meta charset="utf-8"/>
- <style>
- table.head, table.foot { width: 100%; }
- td.head-rtitle, td.foot-os { text-align: right; }
- td.head-vol { text-align: center; }
- div.Pp { margin: 1ex 0ex; }
- </style>
<link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
<title>ZIPTOOL(1)</title>
</head>
@@ -52,324 +46,315 @@
</tr>
</table>
<div class="manual-text">
-<h1 class="Sh" title="Sh" id="NAME"><a class="selflink" href="#NAME">NAME</a></h1>
-<b class="Nm" title="Nm">ziptool</b> — <span class="Nd" title="Nd">modify
- zip archives</span>
-<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="selflink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<h1 class="Sh" title="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm" title="Nm">ziptool</code> —
+<div class="Nd" title="Nd">modify zip archives</div>
+<h1 class="Sh" title="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<table class="Nm">
<tr>
- <td><b class="Nm" title="Nm">ziptool</b></td>
- <td>[<span class="Op"><b class="Fl" title="Fl">-ceghnrst</b></span>]
- [<span class="Op"><b class="Fl" title="Fl">-l</b>
- <var class="Ar" title="Ar">length</var></span>]
- [<span class="Op"><b class="Fl" title="Fl">-o</b>
- <var class="Ar" title="Ar">offset</var></span>]
+ <td><code class="Nm" title="Nm">ziptool</code></td>
+ <td>[<div class="Op"><code class="Fl" title="Fl">-ceghnrst</code></div>]
+ [<div class="Op"><code class="Fl" title="Fl">-l</code>
+ <var class="Ar" title="Ar">length</var></div>]
+ [<div class="Op"><code class="Fl" title="Fl">-o</code>
+ <var class="Ar" title="Ar">offset</var></div>]
<var class="Ar" title="Ar">zip-archive</var>
- <b class="Cm" title="Cm">command</b>
- [<span class="Op"><var class="Ar" title="Ar">command-args
- ...</var></span>] [<span class="Op"><b class="Cm" title="Cm">command</b>
- [<span class="Op"><var class="Ar" title="Ar">command-args
- ...</var></span>] ...</span>]</td>
+ <code class="Cm" title="Cm">command</code>
+ [<div class="Op"><var class="Ar" title="Ar">command-args ...</var></div>]
+ [<div class="Op"><code class="Cm" title="Cm">command</code>
+ [<div class="Op"><var class="Ar" title="Ar">command-args ...</var></div>]
+ ...</div>]</td>
</tr>
</table>
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="selflink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<b class="Nm" title="Nm">ziptool</b> modifies the zip archive
+<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<code class="Nm" title="Nm">ziptool</code> modifies the zip archive
<var class="Ar" title="Ar">zip-archive</var> according to the
<var class="Ar" title="Ar">commands</var> given.
<div class="Pp"></div>
Supported options:
<dl class="Bl-tag" style="margin-left: 16.20ex;">
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#c"><b class="Fl" title="Fl" id="c">-c</b></a></dt>
- <dd class="It-tag">Check zip archive consistency when opening it.</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#e"><b class="Fl" title="Fl" id="e">-e</b></a></dt>
- <dd class="It-tag">Error if archive already exists (only useful with
- <b class="Fl" title="Fl">-n</b>).</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#g"><b class="Fl" title="Fl" id="g">-g</b></a></dt>
- <dd class="It-tag">Guess file name encoding (for
- <b class="Cm" title="Cm">stat</b> command).</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#h"><b class="Fl" title="Fl" id="h">-h</b></a></dt>
- <dd class="It-tag">Display help.</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#l"><b class="Fl" title="Fl" id="l">-l</b></a>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#c"><code class="Fl" title="Fl" id="c">-c</code></a></dt>
+ <dd>Check zip archive consistency when opening it.</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#e"><code class="Fl" title="Fl" id="e">-e</code></a></dt>
+ <dd>Error if archive already exists (only useful with
+ <code class="Fl" title="Fl">-n</code>).</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#g"><code class="Fl" title="Fl" id="g">-g</code></a></dt>
+ <dd>Guess file name encoding (for <code class="Cm" title="Cm">stat</code>
+ command).</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#h"><code class="Fl" title="Fl" id="h">-h</code></a></dt>
+ <dd>Display help.</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#l"><code class="Fl" title="Fl" id="l">-l</code></a>
<var class="Ar" title="Ar">length</var></dt>
- <dd class="It-tag">Only read <var class="Ar" title="Ar">length</var> bytes of
- archive. See also <b class="Fl" title="Fl">-o</b>.</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#n"><b class="Fl" title="Fl" id="n">-n</b></a></dt>
- <dd class="It-tag">Create archive if it doesn't exist. See also
- <b class="Fl" title="Fl">-e</b>.</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#o"><b class="Fl" title="Fl" id="o">-o</b></a>
+ <dd>Only read <var class="Ar" title="Ar">length</var> bytes of archive. See
+ also <code class="Fl" title="Fl">-o</code>.</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#n"><code class="Fl" title="Fl" id="n">-n</code></a></dt>
+ <dd>Create archive if it doesn't exist. See also
+ <code class="Fl" title="Fl">-e</code>.</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#o"><code class="Fl" title="Fl" id="o">-o</code></a>
<var class="Ar" title="Ar">offset</var></dt>
- <dd class="It-tag">Start reading input archive from
- <var class="Ar" title="Ar">offset</var>. See also
- <b class="Fl" title="Fl">-l</b>.</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#r"><b class="Fl" title="Fl" id="r">-r</b></a></dt>
- <dd class="It-tag">Print raw file name encoding without translation (for
- <b class="Cm" title="Cm">stat</b> command).</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#s"><b class="Fl" title="Fl" id="s">-s</b></a></dt>
- <dd class="It-tag">Follow file name convention strictly (for
- <b class="Cm" title="Cm">stat</b> command).</dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -16.20ex;"><a class="selflink" href="#t"><b class="Fl" title="Fl" id="t">-t</b></a></dt>
- <dd class="It-tag">Disregard current file contents, if any.
+ <dd>Start reading input archive from <var class="Ar" title="Ar">offset</var>.
+ See also <code class="Fl" title="Fl">-l</code>.</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#r"><code class="Fl" title="Fl" id="r">-r</code></a></dt>
+ <dd>Print raw file name encoding without translation (for
+ <code class="Cm" title="Cm">stat</code> command).</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#s"><code class="Fl" title="Fl" id="s">-s</code></a></dt>
+ <dd>Follow file name convention strictly (for
+ <code class="Cm" title="Cm">stat</code> command).</dd>
+ <dt style="margin-left: -16.20ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -16.20ex;"><a class="permalink" href="#t"><code class="Fl" title="Fl" id="t">-t</code></a></dt>
+ <dd>Disregard current file contents, if any.
<i class="Em" title="Em">Note</i>: use this with care, it deletes all
existing file contents when you modify the archive.</dd>
</dl>
-<h2 class="Ss" title="Ss" id="Commands"><a class="selflink" href="#Commands">Commands</a></h2>
+<h2 class="Ss" title="Ss" id="Commands"><a class="permalink" href="#Commands">Commands</a></h2>
For all commands below, the index is zero-based. In other words, the first entry
in the zip archive has index 0.
<div class="Pp"></div>
Supported commands and arguments are:
<dl class="Bl-tag" style="margin-left: 15.00ex;">
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#add"><b class="Cm" title="Cm" id="add">add</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#add"><code class="Cm" title="Cm" id="add">add</code></a>
<var class="Ar" title="Ar">name content</var></dt>
- <dd class="It-tag">Add file called <var class="Ar" title="Ar">name</var> using
- the string <var class="Ar" title="Ar">content</var> from the command line
- as data.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#add_dir"><b class="Cm" title="Cm" id="add_dir">add_dir</b></a>
+ <dd>Add file called <var class="Ar" title="Ar">name</var> using the string
+ <var class="Ar" title="Ar">content</var> from the command line as
+ data.</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#add_dir"><code class="Cm" title="Cm" id="add_dir">add_dir</code></a>
<var class="Ar" title="Ar">name</var></dt>
- <dd class="It-tag">Add directory <var class="Ar" title="Ar">name</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#add_file"><b class="Cm" title="Cm" id="add_file">add_file</b></a>
+ <dd>Add directory <var class="Ar" title="Ar">name</var>.</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#add_file"><code class="Cm" title="Cm" id="add_file">add_file</code></a>
<var class="Ar" title="Ar">name file_to_add offset len</var></dt>
- <dd class="It-tag">Add file <var class="Ar" title="Ar">name</var> to archive,
- using <var class="Ar" title="Ar">len</var> bytes from the file
+ <dd>Add file <var class="Ar" title="Ar">name</var> to archive, using
+ <var class="Ar" title="Ar">len</var> bytes from the file
<var class="Ar" title="Ar">file_to_add</var> as input data, starting at
<var class="Ar" title="Ar">offset</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#add_from_zip"><b class="Cm" title="Cm" id="add_from_zip">add_from_zip</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#add_from_zip"><code class="Cm" title="Cm" id="add_from_zip">add_from_zip</code></a>
<var class="Ar" title="Ar">name archivename index offset len</var></dt>
- <dd class="It-tag">Add file called <var class="Ar" title="Ar">name</var> to
- archive using data from another zip archive
- <var class="Ar" title="Ar">archivename</var> using the entry with index
- <var class="Ar" title="Ar">index</var> and reading
- <var class="Ar" title="Ar">len</var> bytes from
+ <dd>Add file called <var class="Ar" title="Ar">name</var> to archive using
+ data from another zip archive <var class="Ar" title="Ar">archivename</var>
+ using the entry with index <var class="Ar" title="Ar">index</var> and
+ reading <var class="Ar" title="Ar">len</var> bytes from
<var class="Ar" title="Ar">offset</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#cat"><b class="Cm" title="Cm" id="cat">cat</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#cat"><code class="Cm" title="Cm" id="cat">cat</code></a>
<var class="Ar" title="Ar">index</var></dt>
- <dd class="It-tag">Output file contents for entry
- <var class="Ar" title="Ar">index</var> to stdout.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#count_extra"><b class="Cm" title="Cm" id="count_extra">count_extra</b></a>
+ <dd>Output file contents for entry <var class="Ar" title="Ar">index</var> to
+ stdout.</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#count_extra"><code class="Cm" title="Cm" id="count_extra">count_extra</code></a>
<var class="Ar" title="Ar">index flags</var></dt>
- <dd class="It-tag">Print the number of extra fields for archive entry
+ <dd>Print the number of extra fields for archive entry
<var class="Ar" title="Ar">index</var> using
<var class="Ar" title="Ar">flags</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#count_extra_by_id"><b class="Cm" title="Cm" id="count_extra_by_id">count_extra_by_id</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#count_extra_by_id"><code class="Cm" title="Cm" id="count_extra_by_id">count_extra_by_id</code></a>
<var class="Ar" title="Ar">index extra_id flags</var></dt>
- <dd class="It-tag">Print number of extra fields of type
+ <dd>Print number of extra fields of type
<var class="Ar" title="Ar">extra_id</var> for archive entry
<var class="Ar" title="Ar">index</var> using
<var class="Ar" title="Ar">flags</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#delete"><b class="Cm" title="Cm" id="delete">delete</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#delete"><code class="Cm" title="Cm" id="delete">delete</code></a>
<var class="Ar" title="Ar">index</var></dt>
- <dd class="It-tag">Remove entry at <var class="Ar" title="Ar">index</var> from
- zip archive.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#delete_extra"><b class="Cm" title="Cm" id="delete_extra">delete_extra</b></a>
+ <dd>Remove entry at <var class="Ar" title="Ar">index</var> from zip
+ archive.</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#delete_extra"><code class="Cm" title="Cm" id="delete_extra">delete_extra</code></a>
<var class="Ar" title="Ar">index extra_idx flags</var></dt>
- <dd class="It-tag">Remove extra field number
- <var class="Ar" title="Ar">extra_idx</var> from archive entry
- <var class="Ar" title="Ar">index</var> using
+ <dd>Remove extra field number <var class="Ar" title="Ar">extra_idx</var> from
+ archive entry <var class="Ar" title="Ar">index</var> using
<var class="Ar" title="Ar">flags</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#delete_extra_by_id"><b class="Cm" title="Cm" id="delete_extra_by_id">delete_extra_by_id</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#delete_extra_by_id"><code class="Cm" title="Cm" id="delete_extra_by_id">delete_extra_by_id</code></a>
<var class="Ar" title="Ar">index extra_id extra_index flags</var></dt>
- <dd class="It-tag">Remove extra field number
- <var class="Ar" title="Ar">extra_index</var> of type
- <var class="Ar" title="Ar">extra_id</var> from archive entry
+ <dd>Remove extra field number <var class="Ar" title="Ar">extra_index</var> of
+ type <var class="Ar" title="Ar">extra_id</var> from archive entry
<var class="Ar" title="Ar">index</var> using
<var class="Ar" title="Ar">flags</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#get_archive_comment"><b class="Cm" title="Cm" id="get_archive_comment">get_archive_comment</b></a></dt>
- <dd class="It-tag">Print archive comment.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#get_extra"><b class="Cm" title="Cm" id="get_extra">get_extra</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#get_archive_comment"><code class="Cm" title="Cm" id="get_archive_comment">get_archive_comment</code></a></dt>
+ <dd>Print archive comment.</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#get_extra"><code class="Cm" title="Cm" id="get_extra">get_extra</code></a>
<var class="Ar" title="Ar">index extra_index flags</var></dt>
- <dd class="It-tag">Print extra field
- <var class="Ar" title="Ar">extra_index</var> for archive entry
- <var class="Ar" title="Ar">index</var> using
+ <dd>Print extra field <var class="Ar" title="Ar">extra_index</var> for archive
+ entry <var class="Ar" title="Ar">index</var> using
<var class="Ar" title="Ar">flags</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#get_extra_by_id"><b class="Cm" title="Cm" id="get_extra_by_id">get_extra_by_id</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#get_extra_by_id"><code class="Cm" title="Cm" id="get_extra_by_id">get_extra_by_id</code></a>
<var class="Ar" title="Ar">index extra_id extra_index flags</var></dt>
- <dd class="It-tag">Print extra field
- <var class="Ar" title="Ar">extra_index</var> of type
+ <dd>Print extra field <var class="Ar" title="Ar">extra_index</var> of type
<var class="Ar" title="Ar">extra_id</var> for archive entry
<var class="Ar" title="Ar">index</var> using
<var class="Ar" title="Ar">flags</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#get_file_comment"><b class="Cm" title="Cm" id="get_file_comment">get_file_comment</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#get_file_comment"><code class="Cm" title="Cm" id="get_file_comment">get_file_comment</code></a>
<var class="Ar" title="Ar">index</var></dt>
- <dd class="It-tag">Get file comment for archive entry
- <var class="Ar" title="Ar">index</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#get_num_entries"><b class="Cm" title="Cm" id="get_num_entries">get_num_entries</b></a>
+ <dd>Get file comment for archive entry
+ <var class="Ar" title="Ar">index</var>.</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#get_num_entries"><code class="Cm" title="Cm" id="get_num_entries">get_num_entries</code></a>
<var class="Ar" title="Ar">flags</var></dt>
- <dd class="It-tag">Print number of entries in archive using
+ <dd>Print number of entries in archive using
<var class="Ar" title="Ar">flags</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#name_locate"><b class="Cm" title="Cm" id="name_locate">name_locate</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#name_locate"><code class="Cm" title="Cm" id="name_locate">name_locate</code></a>
<var class="Ar" title="Ar">name flags</var></dt>
- <dd class="It-tag">Find entry in archive with the filename
+ <dd>Find entry in archive with the filename
<var class="Ar" title="Ar">name</var> using
<var class="Ar" title="Ar">flags</var> and print its index.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#rename"><b class="Cm" title="Cm" id="rename">rename</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#rename"><code class="Cm" title="Cm" id="rename">rename</code></a>
<var class="Ar" title="Ar">index name</var></dt>
- <dd class="It-tag">Rename archive entry <var class="Ar" title="Ar">index</var>
- to <var class="Ar" title="Ar">name</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#replace_file_contents"><b class="Cm" title="Cm" id="replace_file_contents">replace_file_contents</b></a>
+ <dd>Rename archive entry <var class="Ar" title="Ar">index</var> to
+ <var class="Ar" title="Ar">name</var>.</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#replace_file_contents"><code class="Cm" title="Cm" id="replace_file_contents">replace_file_contents</code></a>
<var class="Ar" title="Ar">index data</var></dt>
- <dd class="It-tag">Replace file contents for archive entry
+ <dd>Replace file contents for archive entry
<var class="Ar" title="Ar">index</var> with the string
<var class="Ar" title="Ar">data</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#set_archive_comment"><b class="Cm" title="Cm" id="set_archive_comment">set_archive_comment</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#set_archive_comment"><code class="Cm" title="Cm" id="set_archive_comment">set_archive_comment</code></a>
<var class="Ar" title="Ar">comment</var></dt>
- <dd class="It-tag">Set archive comment to
- <var class="Ar" title="Ar">comment</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#set_extra"><b class="Cm" title="Cm" id="set_extra">set_extra</b></a>
+ <dd>Set archive comment to <var class="Ar" title="Ar">comment</var>.</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#set_extra"><code class="Cm" title="Cm" id="set_extra">set_extra</code></a>
<var class="Ar" title="Ar">index extra_id extra_index flags value</var></dt>
- <dd class="It-tag">Set extra field number
- <var class="Ar" title="Ar">extra_index</var> of type
- <var class="Ar" title="Ar">extra_id</var> for archive entry
+ <dd>Set extra field number <var class="Ar" title="Ar">extra_index</var> of
+ type <var class="Ar" title="Ar">extra_id</var> for archive entry
<var class="Ar" title="Ar">index</var> using
<var class="Ar" title="Ar">flags</var> to
<var class="Ar" title="Ar">value</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#set_file_comment"><b class="Cm" title="Cm" id="set_file_comment">set_file_comment</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#set_file_comment"><code class="Cm" title="Cm" id="set_file_comment">set_file_comment</code></a>
<var class="Ar" title="Ar">index comment</var></dt>
- <dd class="It-tag">Set file comment for archive entry
- <var class="Ar" title="Ar">index</var> to string
- <var class="Ar" title="Ar">comment</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#set_file_compression"><b class="Cm" title="Cm" id="set_file_compression">set_file_compression</b></a>
+ <dd>Set file comment for archive entry <var class="Ar" title="Ar">index</var>
+ to string <var class="Ar" title="Ar">comment</var>.</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#set_file_compression"><code class="Cm" title="Cm" id="set_file_compression">set_file_compression</code></a>
<var class="Ar" title="Ar">index method compression_flags</var></dt>
- <dd class="It-tag">Set file compression method for archive entry
+ <dd>Set file compression method for archive entry
<var class="Ar" title="Ar">index</var> to
<var class="Ar" title="Ar">method</var> using
<var class="Ar" title="Ar">compression_flags</var>.
<i class="Em" title="Em">Note</i>: Currently,
<var class="Ar" title="Ar">compression_flags</var> are ignored.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#set_file_encryption"><b class="Cm" title="Cm" id="set_file_encryption">set_file_encryption</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#set_file_encryption"><code class="Cm" title="Cm" id="set_file_encryption">set_file_encryption</code></a>
<var class="Ar" title="Ar">index method password</var></dt>
- <dd class="It-tag">Set file encryption method for archive entry
+ <dd>Set file encryption method for archive entry
<var class="Ar" title="Ar">index</var> to
<var class="Ar" title="Ar">method</var> with password
<var class="Ar" title="Ar">password</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#set_file_mtime"><b class="Cm" title="Cm" id="set_file_mtime">set_file_mtime</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#set_file_mtime"><code class="Cm" title="Cm" id="set_file_mtime">set_file_mtime</code></a>
<var class="Ar" title="Ar">index timestamp</var></dt>
- <dd class="It-tag">Set file modification time for archive entry
+ <dd>Set file modification time for archive entry
<var class="Ar" title="Ar">index</var> to UNIX mtime
<var class="Ar" title="Ar">timestamp</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#set_file_mtime_all"><b class="Cm" title="Cm" id="set_file_mtime_all">set_file_mtime_all</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#set_file_mtime_all"><code class="Cm" title="Cm" id="set_file_mtime_all">set_file_mtime_all</code></a>
<var class="Ar" title="Ar">timestamp</var></dt>
- <dd class="It-tag">Set file modification time for all archive entries to UNIX
- mtime <var class="Ar" title="Ar">timestamp</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#set_password"><b class="Cm" title="Cm" id="set_password">set_password</b></a>
+ <dd>Set file modification time for all archive entries to UNIX mtime
+ <var class="Ar" title="Ar">timestamp</var>.</dd>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#set_password"><code class="Cm" title="Cm" id="set_password">set_password</code></a>
<var class="Ar" title="Ar">password</var></dt>
- <dd class="It-tag">Set default password for encryption/decryption to
+ <dd>Set default password for encryption/decryption to
<var class="Ar" title="Ar">password</var>.</dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"> </dt>
- <dd class="It-tag"> </dd>
- <dt class="It-tag" style="margin-left: -15.00ex;"><a class="selflink" href="#stat"><b class="Cm" title="Cm" id="stat">stat</b></a>
+ <dt style="margin-left: -15.00ex;"> </dt>
+ <dd> </dd>
+ <dt style="margin-left: -15.00ex;"><a class="permalink" href="#stat"><code class="Cm" title="Cm" id="stat">stat</code></a>
<var class="Ar" title="Ar">index</var></dt>
- <dd class="It-tag">Print information about archive entry
+ <dd>Print information about archive entry
<var class="Ar" title="Ar">index</var>.</dd>
</dl>
-<h2 class="Ss" title="Ss" id="Flags"><a class="selflink" href="#Flags">Flags</a></h2>
+<h2 class="Ss" title="Ss" id="Flags"><a class="permalink" href="#Flags">Flags</a></h2>
Some commands take flag arguments. Supported flags are:
<div class="Bl-tag" style="margin-left: 6.00ex;">
<dl class="Bl-tag Bl-compact" style="margin-left: 6.60ex;">
- <dt class="It-tag" style="margin-left: -6.60ex;"><var class="Ar" title="Ar">C</var></dt>
- <dd class="It-tag"><a class="selflink" href="#ZIP_FL_NOCASE"><code class="Dv" title="Dv" id="ZIP_FL_NOCASE">ZIP_FL_NOCASE</code></a></dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><var class="Ar" title="Ar">c</var></dt>
- <dd class="It-tag"><a class="selflink" href="#ZIP_FL_CENTRAL"><code class="Dv" title="Dv" id="ZIP_FL_CENTRAL">ZIP_FL_CENTRAL</code></a></dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><var class="Ar" title="Ar">d</var></dt>
- <dd class="It-tag"><a class="selflink" href="#ZIP_FL_NODIR"><code class="Dv" title="Dv" id="ZIP_FL_NODIR">ZIP_FL_NODIR</code></a></dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><var class="Ar" title="Ar">l</var></dt>
- <dd class="It-tag"><a class="selflink" href="#ZIP_FL_LOCAL"><code class="Dv" title="Dv" id="ZIP_FL_LOCAL">ZIP_FL_LOCAL</code></a></dd>
- <dt class="It-tag" style="margin-left: -6.60ex;"><var class="Ar" title="Ar">u</var></dt>
- <dd class="It-tag"><a class="selflink" href="#ZIP_FL_UNCHANGED"><code class="Dv" title="Dv" id="ZIP_FL_UNCHANGED">ZIP_FL_UNCHANGED</code></a></dd>
+ <dt style="margin-left: -6.60ex;"><var class="Ar" title="Ar">C</var></dt>
+ <dd><a class="permalink" href="#ZIP_FL_NOCASE"><code class="Dv" title="Dv" id="ZIP_FL_NOCASE">ZIP_FL_NOCASE</code></a></dd>
+ <dt style="margin-left: -6.60ex;"><var class="Ar" title="Ar">c</var></dt>
+ <dd><a class="permalink" href="#ZIP_FL_CENTRAL"><code class="Dv" title="Dv" id="ZIP_FL_CENTRAL">ZIP_FL_CENTRAL</code></a></dd>
+ <dt style="margin-left: -6.60ex;"><var class="Ar" title="Ar">d</var></dt>
+ <dd><a class="permalink" href="#ZIP_FL_NODIR"><code class="Dv" title="Dv" id="ZIP_FL_NODIR">ZIP_FL_NODIR</code></a></dd>
+ <dt style="margin-left: -6.60ex;"><var class="Ar" title="Ar">l</var></dt>
+ <dd><a class="permalink" href="#ZIP_FL_LOCAL"><code class="Dv" title="Dv" id="ZIP_FL_LOCAL">ZIP_FL_LOCAL</code></a></dd>
+ <dt style="margin-left: -6.60ex;"><var class="Ar" title="Ar">u</var></dt>
+ <dd><a class="permalink" href="#ZIP_FL_UNCHANGED"><code class="Dv" title="Dv" id="ZIP_FL_UNCHANGED">ZIP_FL_UNCHANGED</code></a></dd>
</dl>
</div>
-<h2 class="Ss" title="Ss" id="Compression_Methods"><a class="selflink" href="#Compression_Methods">Compression
+<h2 class="Ss" title="Ss" id="Compression_Methods"><a class="permalink" href="#Compression_Methods">Compression
Methods</a></h2>
Some commands take compression method arguments. Supported methods are:
<ul class="Bl-bullet Bl-compact" style="margin-left: 6.00ex;">
- <li class="It-bullet"><a class="selflink" href="#default"><code class="Dv" title="Dv" id="default">default</code></a></li>
- <li class="It-bullet"><a class="selflink" href="#deflate"><code class="Dv" title="Dv" id="deflate">deflate</code></a></li>
- <li class="It-bullet"><a class="selflink" href="#store"><code class="Dv" title="Dv" id="store">store</code></a></li>
+ <li><a class="permalink" href="#default"><code class="Dv" title="Dv" id="default">default</code></a></li>
+ <li><a class="permalink" href="#deflate"><code class="Dv" title="Dv" id="deflate">deflate</code></a></li>
+ <li><a class="permalink" href="#store"><code class="Dv" title="Dv" id="store">store</code></a></li>
</ul>
-<h2 class="Ss" title="Ss" id="Encryption_Methods"><a class="selflink" href="#Encryption_Methods">Encryption
+<h2 class="Ss" title="Ss" id="Encryption_Methods"><a class="permalink" href="#Encryption_Methods">Encryption
Methods</a></h2>
Some commands take encryption method arguments. Supported methods are:
<ul class="Bl-bullet Bl-compact" style="margin-left: 6.00ex;">
- <li class="It-bullet"><a class="selflink" href="#none"><code class="Dv" title="Dv" id="none">none</code></a></li>
- <li class="It-bullet"><a class="selflink" href="#AES-128"><code class="Dv" title="Dv" id="AES-128">AES-128</code></a></li>
- <li class="It-bullet"><a class="selflink" href="#AES-192"><code class="Dv" title="Dv" id="AES-192">AES-192</code></a></li>
- <li class="It-bullet"><a class="selflink" href="#AES-256"><code class="Dv" title="Dv" id="AES-256">AES-256</code></a></li>
+ <li><a class="permalink" href="#none"><code class="Dv" title="Dv" id="none">none</code></a></li>
+ <li><a class="permalink" href="#AES-128"><code class="Dv" title="Dv" id="AES-128">AES-128</code></a></li>
+ <li><a class="permalink" href="#AES-192"><code class="Dv" title="Dv" id="AES-192">AES-192</code></a></li>
+ <li><a class="permalink" href="#AES-256"><code class="Dv" title="Dv" id="AES-256">AES-256</code></a></li>
</ul>
-<h1 class="Sh" title="Sh" id="EXIT_STATUS"><a class="selflink" href="#EXIT_STATUS">EXIT
+<h1 class="Sh" title="Sh" id="EXIT_STATUS"><a class="permalink" href="#EXIT_STATUS">EXIT
STATUS</a></h1>
-The <b class="Nm" title="Nm">ziptool</b> utility exits 0 on success,
- and >0 if an error occurs.
-<h1 class="Sh" title="Sh" id="EXAMPLES"><a class="selflink" href="#EXAMPLES">EXAMPLES</a></h1>
+The <code class="Nm" title="Nm">ziptool</code> utility exits 0 on
+ success, and >0 if an error occurs.
+<h1 class="Sh" title="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
Add a file called <i class="Pa" title="Pa">teststring.txt</i> to the zip archive
<i class="Pa" title="Pa">testbuffer.zip</i> with data “This is a
test.\n” where “\n” is replaced with a newline character:
@@ -388,14 +373,14 @@
ziptool testfile.zip delete 0
</pre>
</div>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="selflink" href="#SEE_ALSO">SEE
+<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<a class="Xr" title="Xr" href="zipcmp.html">zipcmp(1)</a>,
<a class="Xr" title="Xr" href="zipmerge.html">zipmerge(1)</a>,
<a class="Xr" title="Xr" href="libzip.html">libzip(3)</a>
-<h1 class="Sh" title="Sh" id="HISTORY"><a class="selflink" href="#HISTORY">HISTORY</a></h1>
-<b class="Nm" title="Nm">ziptool</b> was added in libzip 1.1.
-<h1 class="Sh" title="Sh" id="AUTHORS"><a class="selflink" href="#AUTHORS">AUTHORS</a></h1>
+<h1 class="Sh" title="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Nm" title="Nm">ziptool</code> was added in libzip 1.1.
+<h1 class="Sh" title="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<span class="An" title="An">Dieter Baron</span>
<<a class="Mt" title="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>>
and <span class="An" title="An">Thomas Klausner</span>
@@ -403,7 +388,7 @@
<table class="foot">
<tr>
<td class="foot-date">December 18, 2017</td>
- <td class="foot-os">NetBSD 8.99.14</td>
+ <td class="foot-os">NetBSD 8.99.16</td>
</tr>
</table>
</body>