 href="#ERRORS">ERRORS</a></h1>
<p class="Pp"><code class="Fn">zip_set_archive_comment</code>() fails if:</p>
<dl class="Bl-tag">
  <dt id="ZIP_ER_INVAL">[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er">ZIP_ER_INVAL</code></a>]</dt>
  <dd><var class="Ar">len</var> is less than 0 or longer than the maximum
      comment length in a zip file (65535), or <var class="Ar">comment</var> is
      not a valid UTF-8 encoded string.</dd>
  <dt id="ZIP_ER_MEMORY">[<a class="permalink" href="#ZIP_ER_MEMORY">