0N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
2273N/A<!--ArborText, Inc., 1988-1999, v.4002-->
0N/A<!
ENTITY synp-
tt "SYNOPSIS">
0N/A<!
ENTITY cmd "TIFFError">
0N/A<!
ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.">
0N/A<?
Pub UDT _bookmark _target>
0N/A<?
Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip 0N/A laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen gt lt>
0N/A<
refentry id="TIFFError-3tiff">
0N/A<!-- %Z%%M% %I% %E% SMI; --> 1472N/A<
refmeta><
refentrytitle>TIFFError</
refentrytitle><
manvolnum>3tiff</
manvolnum>
1472N/A<
refmiscinfo class="date">01 Apr 2004</
refmiscinfo>
1472N/A<
refmiscinfo class="sectdesc">&man3;</
refmiscinfo>
0N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
0N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
0N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
1879N/A<
indexterm><
primary>TIFFError</
primary></
indexterm><
indexterm><
primary>TIFFSetErrorHandler
1879N/A</
primary></
indexterm><
indexterm><
primary>library error handling interface
1879N/A<
refnamediv id="TIFFError-3tiff-name"><
refname>TIFFError</
refname><
refname>TIFFSetErrorHandler
1879N/A</
refname><
refpurpose>library error handling interface</
refpurpose></
refnamediv>
1879N/A<
refsect1 id="TIFFError-3tiff-synp"><
title>&synp-tt;</
title>
1879N/Avoid TIFFError(const char* module, const char* fmt, ...)
1879N/Atypedef void (*TIFFErrorHandler)(const char* module, const
1879N/ATIFFErrorHandler TIFFSetErrorHandler(TIFFErrorHandler
0N/A<
refsect1 id="TIFFError-3tiff-desc"><
title>&desc-tt;</
title>
0N/A<
para><
literal>TIFFError</
literal> invokes the library-wide error-handling
0N/Afunction to (normally) write an error message to <
literal>stderr</
literal>.
0N/AThe <
literal>fmt</
literal> parameter is a <
literal>printf(3S)</
literal> format
0N/Astring, and any number of arguments can be supplied. The <
literal>module</
literal>
0N/Aparameter, if non-zero, is printed before the message. The <
literal>module
0N/A</
literal> parameter typically is used to identify the software module in
0N/Awhich an error is detected.</
para>
0N/A<
para>Applications that want to capture control in the event of an error should
0N/Ause <
literal>TIFFSetErrorHandler</
literal> to override the default error handler.
0N/AA NULL (0) error-handling function can be installed to suppress error messages.
0N/A<
refsect1 id="TIFFError-3tiff-rtrn"><
title>&rtrn-tt;</
title>
0N/A<
para><
literal>TIFFSetErrorHandler</
literal> returns a reference to the previous
0N/Aerror-handling function.</
para>
0N/A<
refsect1 id="TIFFError-3tiff-attr"><
title>&attr-tt;</
title>
0N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
0N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
0N/Afor descriptions of the following attributes:</
para>
0N/A<
informaltable frame="all">
0N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
0N/A<
colspec colname="COLSPEC1" colwidth="1*">
0N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 0N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
0N/A<
row><
entry><
para>Availability</
para></
entry><
entry><
para>SUNWTiff</
para></
entry>
0N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 0N/Acolname="COLSPEC1"><
para>Evolving</
para></
entry></
row>
0N/A<
refsect1 id="TIFFError-3tiff-also"><
title>&also-tt;</
title>
0N/A<!--Reference to another man page--> 0N/A<!--Reference to a Help manual--> 0N/A<!--Reference to a book.--> 0N/A<
para><
citerefentry><
refentrytitle>libtiff</
refentrytitle><
manvolnum>3</
manvolnum>
0N/A</
citerefentry>, <
citerefentry><
refentrytitle>TIFFWarning</
refentrytitle>
0N/A<
manvolnum>3tiff</
manvolnum></
citerefentry>, <
citerefentry><
refentrytitle>printf
0N/A</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry></
para>
0N/A<
refsect1 id="TIFFError-3tiff-note"><
title>¬e-tt;</
title>
0N/A<
para>This man page was originally written by Sam Leffler. Updated by Breda McColgan, Sun Microsystems Inc., 2004.</
para>
0N/A</
refentry><?
Pub Caret>