Misc. Reference Manual Pages TIFFWarning(3tiff)
NAME
TIFFWarning, TIFFSetWarningHandler - library warning inter-
faceSYNOPSIS
#include
void TIFFWarning(const char* module, const char* fmt, ...)#include
typedef void (*TIFFWarningHandler)(const char* module, constchar* fmt, va_list ap);
TIFFWarningHandler TIFFSetWarningHandler(TIFFWarningHandler
handler);TIFFWarning invokes the library-wide warning handler func-
tion to (normally) write a warning message to stderr. The fmt parameter is a printf(3S) format string, and any numberof arguments can be supplied. The module parameter is inter-
preted as a string that, if non-zero, should be printed
before the message, and is typically used to identify the software module in which a warning is detected. Applications that desire to capture control in the event ofa warning should use TIFFSetWarningHandler to override the
default warning handler. A NULL (0) warning handler function may be installed to suppress error messages.TIFFSetWarningHandler returns a reference to the previous
error handling function.See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | image/library/libtiff ||_____________________________|_____________________________|
| Interface stability | Uncommitted ||_____________________________|_____________________________|
libtiff(3), TIFFError(3tiff), printf(3S) This man page was originally written by Sam Leffler. Updated by Breda McColgan, Sun Microsystems Inc., 2004. SunOS 5.10 Last change: 02 Apr 2004 1