2
0

TIFFWarning.3tiff.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <!-- Creator : groff version 1.18.1 -->
  2. <!-- CreationDate: Sat Feb 24 18:37:18 2007 -->
  3. <html>
  4. <head>
  5. <meta name="generator" content="groff -Thtml, see www.gnu.org">
  6. <meta name="Content-Style" content="text/css">
  7. <title>TIFFWarning</title>
  8. </head>
  9. <body>
  10. <h1 align=center>TIFFWarning</h1>
  11. <a href="#NAME">NAME</a><br>
  12. <a href="#SYNOPSIS">SYNOPSIS</a><br>
  13. <a href="#DESCRIPTION">DESCRIPTION</a><br>
  14. <a href="#RETURN VALUES">RETURN VALUES</a><br>
  15. <a href="#SEE ALSO">SEE ALSO</a><br>
  16. <hr>
  17. <a name="NAME"></a>
  18. <h2>NAME</h2>
  19. <!-- INDENTATION -->
  20. <table width="100%" border=0 rules="none" frame="void"
  21. cols="2" cellspacing="0" cellpadding="0">
  22. <tr valign="top" align="left">
  23. <td width="8%"></td>
  24. <td width="91%">
  25. <p>TIFFWarning, TIFFSetWarningHandler &minus; library
  26. warning interface</p>
  27. </td>
  28. </table>
  29. <a name="SYNOPSIS"></a>
  30. <h2>SYNOPSIS</h2>
  31. <!-- INDENTATION -->
  32. <table width="100%" border=0 rules="none" frame="void"
  33. cols="2" cellspacing="0" cellpadding="0">
  34. <tr valign="top" align="left">
  35. <td width="8%"></td>
  36. <td width="91%">
  37. <p><b>#include &lt;tiffio.h&gt;</b></p>
  38. <!-- INDENTATION -->
  39. <p><b>void TIFFWarning(const char *</b><i>module</i><b>,
  40. const char *</b><i>fmt</i><b>,</b> <i>...</i><b>)</b></p>
  41. <!-- INDENTATION -->
  42. <p><b>#include &lt;stdarg.h&gt;</b></p>
  43. <!-- INDENTATION -->
  44. <p><b>typedef void (*TIFFWarningHandler)(const char
  45. *</b><i>module</i><b>, const char *</b><i>fmt</i><b>,
  46. va_list</b> <i>ap</i><b>);</b></p>
  47. <!-- INDENTATION -->
  48. <p><b>TIFFWarningHandler
  49. TIFFSetWarningHandler(TIFFWarningHandler</b>
  50. <i>handler</i><b>);</b></p>
  51. </td>
  52. </table>
  53. <a name="DESCRIPTION"></a>
  54. <h2>DESCRIPTION</h2>
  55. <!-- INDENTATION -->
  56. <table width="100%" border=0 rules="none" frame="void"
  57. cols="2" cellspacing="0" cellpadding="0">
  58. <tr valign="top" align="left">
  59. <td width="8%"></td>
  60. <td width="91%">
  61. <p><i>TIFFWarning</i> invokes the library-wide warning
  62. handler function to (normally) write a warning message to
  63. the <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 is interpreted
  66. as a string that, if non-zero, should be printed before the
  67. message; it typically is used to identify the software
  68. module in which a warning is detected.</p>
  69. <!-- INDENTATION -->
  70. <p>Applications that desire to capture control in the event
  71. of a warning should use <i>TIFFSetWarningHandler</i> to
  72. override the default warning handler. A <small>NULL</small>
  73. (0) warning handler function may be installed to suppress
  74. error messages.</p>
  75. </td>
  76. </table>
  77. <a name="RETURN VALUES"></a>
  78. <h2>RETURN VALUES</h2>
  79. <!-- INDENTATION -->
  80. <table width="100%" border=0 rules="none" frame="void"
  81. cols="2" cellspacing="0" cellpadding="0">
  82. <tr valign="top" align="left">
  83. <td width="8%"></td>
  84. <td width="91%">
  85. <p><i>TIFFSetWarningHandler</i> returns a reference to the
  86. previous error handling function.</p>
  87. </td>
  88. </table>
  89. <a name="SEE ALSO"></a>
  90. <h2>SEE ALSO</h2>
  91. <!-- INDENTATION -->
  92. <table width="100%" border=0 rules="none" frame="void"
  93. cols="2" cellspacing="0" cellpadding="0">
  94. <tr valign="top" align="left">
  95. <td width="8%"></td>
  96. <td width="91%">
  97. <p><b>TIFFError</b>(3TIFF), <b>libtiff</b>(3TIFF),
  98. <b>printf</b>(3)</p>
  99. <!-- INDENTATION -->
  100. <p>Libtiff library home page:
  101. <b>http://www.remotesensing.org/libtiff/</b></p>
  102. </td>
  103. </table>
  104. <hr>
  105. </body>
  106. </html>