]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/html/man/TIFFmemory.3tiff.html
fix off by 1 error in GetTextRaw() (#4317)
[wxWidgets.git] / src / tiff / html / man / TIFFmemory.3tiff.html
1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Mon Mar 13 18:03:08 2006 -->
3 <html>
4 <head>
5 <meta name="generator" content="groff -Thtml, see www.gnu.org">
6 <meta name="Content-Style" content="text/css">
7 <title>MEMORY</title>
8 </head>
9 <body>
10
11 <h1 align=center>MEMORY</h1>
12 <a href="#NAME">NAME</a><br>
13 <a href="#SYNOPSIS">SYNOPSIS</a><br>
14 <a href="#DESCRIPTION">DESCRIPTION</a><br>
15 <a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
16 <a href="#SEE ALSO">SEE ALSO</a><br>
17
18 <hr>
19 <a name="NAME"></a>
20 <h2>NAME</h2>
21 <!-- INDENTATION -->
22 <table width="100%" border=0 rules="none" frame="void"
23 cols="2" cellspacing="0" cellpadding="0">
24 <tr valign="top" align="left">
25 <td width="8%"></td>
26 <td width="91%">
27 <p>_TIFFmalloc, _TIFFrealloc, _TIFFfree, _TIFFmemset,
28 _TIFFmemcpy, _TIFFmemcmp, &minus; memory management-related
29 functions for use with <small>TIFF</small> files</p>
30 </td>
31 </table>
32 <a name="SYNOPSIS"></a>
33 <h2>SYNOPSIS</h2>
34 <!-- INDENTATION -->
35 <table width="100%" border=0 rules="none" frame="void"
36 cols="2" cellspacing="0" cellpadding="0">
37 <tr valign="top" align="left">
38 <td width="8%"></td>
39 <td width="91%">
40 <p><b>#include &lt;tiffio.h&gt;</b></p>
41 <!-- INDENTATION -->
42 <p><b>tdata_t _TIFFmalloc(tsize_t</b> <i>size</i><b>);<br>
43 tdata_t _TIFFrealloc(tdata_t</b> <i>buffer</i><b>,
44 tsize_t</b> <i>size</i><b>);<br>
45 void _TIFFfree(tdata_t</b> <i>buffer</i><b>);<br>
46 void _TIFFmemset(tdata_t</b> <i>s</i><b>, int</b>
47 <i>c</i><b>, tsize_t</b> <i>n</i><b>);<br>
48 void _TIFFmemcpy(tdata_t</b> <i>dest</i><b>, const
49 tdata_t</b> <i>src</i><b>, tsize_t</b> <i>n</i><b>);<br>
50 int _TIFFmemcmp(const tdata_t</b> <i>s1</i><b>, const
51 tdata_t</b> <i>s2</i><b>, tsize_t</b> <i>n</i><b>);</b></p>
52 </td>
53 </table>
54 <a name="DESCRIPTION"></a>
55 <h2>DESCRIPTION</h2>
56 <!-- INDENTATION -->
57 <table width="100%" border=0 rules="none" frame="void"
58 cols="2" cellspacing="0" cellpadding="0">
59 <tr valign="top" align="left">
60 <td width="8%"></td>
61 <td width="91%">
62 <p>These routines are provided for writing portable software
63 that uses <i>libtiff</i>; they hide any memory-management
64 related issues, such as dealing with segmented architectures
65 found on 16-bit machines.</p>
66 <!-- INDENTATION -->
67 <p><i>_TIFFmalloc</i> and <i>_TIFFrealloc</i> are used to
68 dynamically allocate and reallocate memory used by
69 <i>libtiff</i>; such as memory passed into the I/O routines.
70 Memory allocated through these interfaces is released back
71 to the system using the <i>_TIFFfree</i> routine.</p>
72 <!-- INDENTATION -->
73 <p>Memory allocated through one of the above interfaces can
74 be set to a known value using <i>_TIFFmemset</i>, copied to
75 another memory location using <i>_TIFFmemcpy</i>, or
76 compared for equality using <i>_TIFFmemcmp</i>. These
77 routines conform to the equivalent <small>ANSI</small> C
78 routines: <i>memset</i>, <i>memcpy</i>, and <i>memcmp</i>,
79 repsectively.</p>
80 </td>
81 </table>
82 <a name="DIAGNOSTICS"></a>
83 <h2>DIAGNOSTICS</h2>
84 <!-- INDENTATION -->
85 <table width="100%" border=0 rules="none" frame="void"
86 cols="2" cellspacing="0" cellpadding="0">
87 <tr valign="top" align="left">
88 <td width="8%"></td>
89 <td width="91%">
90 <p>None.</p>
91 </td>
92 </table>
93 <a name="SEE ALSO"></a>
94 <h2>SEE ALSO</h2>
95 <!-- INDENTATION -->
96 <table width="100%" border=0 rules="none" frame="void"
97 cols="2" cellspacing="0" cellpadding="0">
98 <tr valign="top" align="left">
99 <td width="8%"></td>
100 <td width="91%">
101 <p><b>malloc</b>(3), <b>memory</b>(3),
102 <b>libtiff</b>(3TIFF)</p>
103 <!-- INDENTATION -->
104 <p>Libtiff library home page:
105 <b>http://www.remotesensing.org/libtiff/</b></p>
106 </td>
107 </table>
108 <hr>
109 </body>
110 </html>