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>TIFFError
</title>
11 <h1 align=center
>TIFFError
</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=
"#SEE ALSO">SEE ALSO
</a><br>
22 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
23 cols=
"2" cellspacing=
"0" cellpadding=
"0">
24 <tr valign=
"top" align=
"left">
27 <p>TIFFError, TIFFSetErrorHandler
− library error
28 handling interface
</p>
31 <a name=
"SYNOPSIS"></a>
34 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
35 cols=
"2" cellspacing=
"0" cellpadding=
"0">
36 <tr valign=
"top" align=
"left">
39 <p><b>#include
<tiffio.h
></b></p>
41 <p><b>void TIFFError(const char *
</b><i>module
</i><b>, const
42 char *
</b><i>fmt
</i><b>,
</b> <i>...
</i><b>)
</b></p>
44 <p><b>#include
<stdarg.h
></b></p>
46 <p><b>typedef void (*TIFFErrorHandler)(const char
47 *
</b><i>module
</i><b>, const char *
</b><i>fmt
</i><b>,
48 va_list
</b> <i>ap
</i><b>);
<br>
49 TIFFErrorHandler TIFFSetErrorHandler(TIFFErrorHandler
53 <a name=
"DESCRIPTION"></a>
56 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
57 cols=
"2" cellspacing=
"0" cellpadding=
"0">
58 <tr valign=
"top" align=
"left">
61 <p><i>TIFFError
</i> invokes the library-wide error handling
62 function to (normally) write an error message to the
63 <b>stderr
</b>. The
<i>fmt
</i> parameter is a
64 <i>printf
</i>(
3S) format string, and any number arguments
65 can be supplied. The
<i>module
</i> parameter, if non-zero,
66 is printed before the message; it typically is used to
67 identify the software module in which an error is
70 <p>Applications that desire to capture control in the event
71 of an error should use
<i>TIFFSetErrorHandler
</i> to
72 override the default error handler. A
<small>NULL
</small>
73 (
0) error handling function may be installed to suppress
77 <a name=
"RETURN VALUES"></a>
78 <h2>RETURN VALUES
</h2>
80 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
81 cols=
"2" cellspacing=
"0" cellpadding=
"0">
82 <tr valign=
"top" align=
"left">
85 <p><i>TIFFSetErrorHandler
</i> returns a reference to the
86 previous error handling function.
</p>
89 <a name=
"SEE ALSO"></a>
92 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
93 cols=
"2" cellspacing=
"0" cellpadding=
"0">
94 <tr valign=
"top" align=
"left">
97 <p><b>TIFFWarning
</b>(
3TIFF),
<b>libtiff
</b>(
3TIFF),
100 <p>Libtiff library home page:
101 <b>http://www.remotesensing.org/libtiff/
</b></p>