TIFFFlush(3T)

NAME
TIFFFlush, TIFFFlushData - flush pending writes to an open TIFF file

SYNOPSIS
#include <tiffio.h>
int TIFFFlush(TIFF* tif)
int TIFFFlushData(TIFF* tif)

DESCRIPTION
TIFFFlush() causes any pending writes for the specified file (including writes for the current directory) to be done. 0 is returned if an error is encountered, otherwise 1. In normal operation this call is never needed- the library automatically does any flushing required.

TIFFFlushData() flushes any pending data writes for the specified file (i.e. no directory information). 0 is returned if an error is encountered, otherwise 1. In normal operation this call is never needed- the library automatically does any flushing required.

DIAGNOSTICS
All error messages are directed to the TIFFError(3T) routine.

SEE ALSO
intro(3T), TIFFOpen(3T), TIFFWriteEncodedStrip(3T), TIFFWriteEncodedTile(3T), TIFFWriteRawStrip(3T), TIFFWriteRawTile(3T), TIFFWriteScanline(3T), TIFFWriteTile(3T)