1<!-- Creator     : groff version 1.18.1 -->
2<!-- CreationDate: Sat Feb 24 18:37:16 2007 -->
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>TIFFFlush</title>
8</head>
9<body>
10
11<h1 align=center>TIFFFlush</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="#RETURN VALUES">RETURN VALUES</a><br>
16<a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
17<a href="#SEE ALSO">SEE ALSO</a><br>
18
19<hr>
20<a name="NAME"></a>
21<h2>NAME</h2>
22<!-- INDENTATION -->
23<table width="100%" border=0 rules="none" frame="void"
24       cols="2" cellspacing="0" cellpadding="0">
25<tr valign="top" align="left">
26<td width="8%"></td>
27<td width="91%">
28<p>TIFFFlush, TIFFFlushData &minus; flush pending writes to
29an open <small>TIFF</small> file</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>int TIFFFlush(TIFF *</b><i>tif</i><b>)<br>
43int TIFFFlushData(TIFF *</b><i>tif</i><b>)</b></p>
44</td>
45</table>
46<a name="DESCRIPTION"></a>
47<h2>DESCRIPTION</h2>
48<!-- INDENTATION -->
49<table width="100%" border=0 rules="none" frame="void"
50       cols="2" cellspacing="0" cellpadding="0">
51<tr valign="top" align="left">
52<td width="8%"></td>
53<td width="91%">
54<p><i>TIFFFlush</i> causes any pending writes for the
55specified file (including writes for the current directory)
56to be done. In normal operation this call is never needed
57&minus; the library automatically does any flushing
58required.</p>
59<!-- INDENTATION -->
60<p><i>TIFFFlushData</i> flushes any pending image data for
61the specified file to be written out; directory-related data
62are not flushed. In normal operation this call is never
63needed &minus; the library automatically does any flushing
64required.</p>
65</td>
66</table>
67<a name="RETURN VALUES"></a>
68<h2>RETURN VALUES</h2>
69<!-- INDENTATION -->
70<table width="100%" border=0 rules="none" frame="void"
71       cols="2" cellspacing="0" cellpadding="0">
72<tr valign="top" align="left">
73<td width="8%"></td>
74<td width="91%">
75<p>0 is returned if an error is encountered, otherwise 1 is
76returned.</p>
77</td>
78</table>
79<a name="DIAGNOSTICS"></a>
80<h2>DIAGNOSTICS</h2>
81<!-- INDENTATION -->
82<table width="100%" border=0 rules="none" frame="void"
83       cols="2" cellspacing="0" cellpadding="0">
84<tr valign="top" align="left">
85<td width="8%"></td>
86<td width="91%">
87<p>All error messages are directed to the
88<b>TIFFError</b>(3TIFF) routine.</p>
89</td>
90</table>
91<a name="SEE ALSO"></a>
92<h2>SEE ALSO</h2>
93<!-- INDENTATION -->
94<table width="100%" border=0 rules="none" frame="void"
95       cols="2" cellspacing="0" cellpadding="0">
96<tr valign="top" align="left">
97<td width="8%"></td>
98<td width="91%">
99<p><b>TIFFOpen</b>(3TIFF),
100<b>TIFFWriteEncodedStrip</b>(3TIFF),
101<b>TIFFWriteEncodedTile</b>(3TIFF),
102<b>TIFFWriteRawStrip</b>(3TIFF),
103<b>TIFFWriteRawTile</b>(3TIFF),
104<b>TIFFWriteScanline</b>(3TIFF), <b>TIFFWriteTile</b>(3TIFF)
105<b>libtiff</b>(3TIFF),</p>
106<!-- INDENTATION -->
107<p>Libtiff library home page:
108<b>http://www.simplesystems.org/libtiff/</b></p>
109</td>
110</table>
111<hr>
112</body>
113</html>
114