1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Mon Mar 13 18:03:11 2006 -->
5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
6 <meta name=
"Content-Style" content=
"text/css">
7 <title>TIFFWarning
</title>
11 <h1 align=center
>TIFFWarning
</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>TIFFWarning, TIFFSetWarningHandler
− library
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 TIFFWarning(const char *
</b><i>module
</i><b>,
42 const char *
</b><i>fmt
</i><b>,
</b> <i>...
</i><b>)
</b></p>
44 <p><b>#include
<stdargh.h
></b></p>
46 <p><b>typedef void (*TIFFWarningHandler)(const char
47 *
</b><i>module
</i><b>, const char *
</b><i>fmt
</i><b>,
48 va_list
</b> <i>ap
</i><b>);
</b></p>
50 <p><b>TIFFWarningHandler
51 TIFFSetWarningHandler(TIFFWarningHandler
</b>
52 <i>handler
</i><b>);
</b></p>
55 <a name=
"DESCRIPTION"></a>
58 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
59 cols=
"2" cellspacing=
"0" cellpadding=
"0">
60 <tr valign=
"top" align=
"left">
63 <p><i>TIFFWarning
</i> invokes the library-wide warning
64 handler function to (normally) write a warning message to
65 the
<b>stderr
</b>. The
<i>fmt
</i> parameter is a
66 <i>printf
</i>(
3S) format string, and any number arguments
67 can be supplied. The
<i>module
</i> parameter is interpreted
68 as a string that, if non-zero, should be printed before the
69 message; it typically is used to identify the software
70 module in which a warning is detected.
</p>
72 <p>Applications that desire to capture control in the event
73 of a warning should use
<i>TIFFSetWarningHandler
</i> to
74 override the default warning handler. A
<small>NULL
</small>
75 (
0) warning handler function may be installed to suppress
79 <a name=
"RETURN VALUES"></a>
80 <h2>RETURN VALUES
</h2>
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><i>TIFFSetWarningHandler
</i> returns a reference to the
88 previous error handling function.
</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>TIFFError
</b>(
3TIFF),
<b>libtiff
</b>(
3TIFF),
102 <p>Libtiff library home page:
103 <b>http://www.remotesensing.org/libtiff/
</b></p>