10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<
refentry id="TIFFWarning-3tiff">
10139N/A<
refmeta><
refentrytitle>TIFFWarning</
refentrytitle><
manvolnum>3tiff</
manvolnum>
10139N/A<
refmiscinfo class="date">02 Apr 2004</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man3;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
indexterm><
primary>TIFFWarning</
primary></
indexterm><
indexterm><
primary>
10139N/Alibrary warning interface</
primary></
indexterm>
10139N/A<
refnamediv id="TIFFWarning-3tiff-name"><
refname>TIFFWarning</
refname><
refname>
10139N/ATIFFSetWarningHandler</
refname><
refpurpose>library warning interface</
refpurpose>
10139N/A<
refsect1 id="TIFFWarning-3tiff-synp"><
title>&synp-tt;</
title>
10139N/Avoid TIFFWarning(const char* module, const char* fmt, ...)
10139N/Atypedef void (*TIFFWarningHandler)(const char* module, const
10139N/ATIFFWarningHandler TIFFSetWarningHandler(TIFFWarningHandler
10139N/A<
refsect1 id="TIFFWarning-3tiff-desc"><
title>&desc-tt;</
title>
10139N/A<
para><
literal>TIFFWarning</
literal> invokes the library-wide warning handler
10139N/Afunction to (normally) write a warning message to <
literal>stderr</
literal>.
10139N/AThe <
literal>fmt</
literal> parameter is a <
literal>printf(3S)</
literal> format
10139N/Astring, and any number of arguments can be supplied. The <
literal>module</
literal>
10139N/Aparameter is interpreted as a string that, if non-zero, should be printed
10139N/Abefore the message, and is typically used to identify the software module
10139N/Ain which a warning is detected.</
para>
10139N/A<
para>Applications that desire to capture control in the event of a warning
10139N/Ashould use <
literal>TIFFSetWarningHandler</
literal> to override the default
10139N/Awarning handler. A NULL (0) warning handler function may be installed to suppress
10139N/A<
refsect1 id="TIFFWarning-3tiff-rtrn"><
title>&rtrn-tt;</
title>
10139N/A<
para><
literal>TIFFSetWarningHandler</
literal> returns a reference to the
10139N/Aprevious error handling function.</
para>
10139N/A<
refsect1 id="TIFFWarning-3tiff-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry><
para>Availability</
para></
entry><
entry><
para>SUNWTiff</
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Evolving</
para></
entry></
row>
10139N/A<
refsect1 id="TIFFWarning-3tiff-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 10139N/A<
para><
citerefentry><
refentrytitle>libtiff</
refentrytitle><
manvolnum>3</
manvolnum>
10139N/A</
citerefentry>, <
citerefentry><
refentrytitle>TIFFError</
refentrytitle><
manvolnum>
10139N/A3tiff</
manvolnum></
citerefentry>, <
citerefentry><
refentrytitle>printf</
refentrytitle>
10139N/A<
manvolnum>3S</
manvolnum></
citerefentry><?
Pub Caret></
para>
10139N/A<
refsect1 id="TIFFWarning-3tiff-note"><
title>¬e-tt;</
title>
10139N/A<
para>This man page was originally written by Sam Leffler. Updated by Breda
10139N/AMcColgan, Sun Microsystems Inc., 2004.</
para>