Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0778f7fb77394070b8f63a2a040f2017 > files > 69

libtiff3-devel-3.5.7-6mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML><HEAD><TITLE>Manpage of MEMORY</TITLE>
</HEAD><BODY BGCOLOR=WHITE><FONT FACE="helvetica, sans, arial">
<H1>MEMORY</H1>
Section: Misc. Reference Manual Pages (3T)<BR>Updated: October 15, 1995<BR><A HREF="#index">Index</A>
<BR><A HREF="index.html">Return to Main Contents</A>
<HR>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

_TIFFmalloc, _TIFFrealloc, _TIFFfree, _TIFFmemset, _TIFFmemcpy, _TIFFmemcmp, - memory management-related functions for use with
<FONT SIZE="-1">TIFF</FONT>
files
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<PRE>
<B>#include &lt;<A HREF="file:/usr/include/tiffio.h">tiffio.h</A>&gt;</B>
<B>tdata_t _TIFFmalloc(tsize_t);</B>
<B>tdata_t _TIFFrealloc(tdata_t, tsize_t);</B>
<B>void _TIFFfree(tdata_t);</B>
<B>void _TIFFmemset(tdata_t, int, tsize_t);</B>
<B>void _TIFFmemcpy(tdata_t, const tdata_t, tsize_t);</B>
<B>int _TIFFmemcmp(const tdata_t, const tdata_t, tsize_t);</B>
</PRE>

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

These routines are provided for writing portable software that uses 
<I>libtiff</I>;

they hide any memory-management related issues, such as dealing with
segmented architectures found on 16-bit machines.
<P>

<I>_TIFFmalloc</I>

and
<I>_TIFFrealloc</I>

are used to dynamically allocate and reallocate memory used by 
<I>libtiff</I>;

such as memory passed into the I/O routines.
Memory allocated through these interfaces is released back to the
system using the
<I>_TIFFfree</I>

routine.
<P>

Memory allocated through one of the above interfaces can be set to
a known value using
<I>_TIFFmemset</I>,

copied to another memory location using
<I>_TIFFmemcpy</I>,

or compared for equality using 
<I>_TIFFmemcmp</I>.

These routines conform to the equivalent
<FONT SIZE="-1">ANSI</FONT>
C routines: 
<I>memset</I>,

<I>memcpy</I>,

and
<I>memcmp</I>,

repsectively.
<A NAME="lbAE">&nbsp;</A>
<H2>DIAGNOSTICS</H2>

None.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>

<I><A HREF="libtiff.3t.html">libtiff</A></I>(3T),

<I><A HREF="malloc+3c">malloc</A></I>(3C),

<I><A HREF="memory+3c">memory</A></I>(3C)


<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">DIAGNOSTICS</A><DD>
<DT><A HREF="#lbAF">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="index.html">man2html</A>,
using the manual pages.<BR>
Time: 01:31:39 GMT, November 23, 1999
</BODY>
</HTML>