1 <!-- Creator     : groff version 1.18.1 --> 
   2 <!-- CreationDate: Sat Feb 24 18:37:16 2007 --> 
   5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org"> 
   6 <meta name=
"Content-Style" content=
"text/css"> 
   7 <title>TIFFFlush
</title> 
  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> 
  23 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  24        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  25 <tr valign=
"top" align=
"left"> 
  28 <p>TIFFFlush, TIFFFlushData 
− flush pending writes to
 
  29 an open 
<small>TIFF
</small> file
</p> 
  32 <a name=
"SYNOPSIS"></a> 
  35 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  36        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  37 <tr valign=
"top" align=
"left"> 
  40 <p><b>#include 
<tiffio.h
></b></p> 
  42 <p><b>int TIFFFlush(TIFF *
</b><i>tif
</i><b>)
<br> 
  43 int TIFFFlushData(TIFF *
</b><i>tif
</i><b>)
</b></p> 
  46 <a name=
"DESCRIPTION"></a> 
  49 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  50        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  51 <tr valign=
"top" align=
"left"> 
  54 <p><i>TIFFFlush
</i> causes any pending writes for the
 
  55 specified file (including writes for the current directory)
 
  56 to be done. In normal operation this call is never needed
 
  57 − the library automatically does any flushing
 
  60 <p><i>TIFFFlushData
</i> flushes any pending image data for
 
  61 the specified file to be written out; directory-related data
 
  62 are not flushed. In normal operation this call is never
 
  63 needed 
− the library automatically does any flushing
 
  67 <a name=
"RETURN VALUES"></a> 
  68 <h2>RETURN VALUES
</h2> 
  70 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  71        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  72 <tr valign=
"top" align=
"left"> 
  75 <p>0 is returned if an error is encountered, otherwise 
1 is
 
  79 <a name=
"DIAGNOSTICS"></a> 
  82 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  83        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  84 <tr valign=
"top" align=
"left"> 
  87 <p>All error messages are directed to the
 
  88 <b>TIFFError
</b>(
3TIFF) routine.
</p> 
  91 <a name=
"SEE ALSO"></a> 
  94 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  95        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  96 <tr valign=
"top" align=
"left"> 
  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> 
 107 <p>Libtiff library home page:
 
 108 <b>http://www.remotesensing.org/libtiff/
</b></p>