realloc</tt>, and <tt>free</tt> routines in the C library.)
  </p>
  <p>
    To deal with segmented pointer issues <tt>libtiff</tt> also provides
    <tt>_TIFFmemcpy</tt>, <tt>_TIFFmemset</tt>, and <tt>_TIFFmemmove</tt>
    routines that mimic the equivalent ANSI C routines, but that are
    intended for use with memory allocated through <tt>_TIFFmalloc</tt>
    and <tt>_TIFFrealloc</tt>.
  </p>
  <hr>
  <h2 id="errors">Error Handling</h2>
  <p>
    <tt>libtiff</tt> handles most errors by returning an inval