1TIFFError(3TIFF)                                              TIFFError(3TIFF)
2
3
4

NAME

6       TIFFError, TIFFSetErrorHandler - library error handling interface
7

SYNOPSIS

9       #include <tiffio.h>
10
11       void TIFFError(const char *module, const char *fmt, ...)
12
13       #include <stdarg.h>
14
15       typedef  void  (*TIFFErrorHandler)(const char *module, const char *fmt,
16       va_list ap);
17       TIFFErrorHandler TIFFSetErrorHandler(TIFFErrorHandler handler);
18

DESCRIPTION

20       TIFFError invokes the library-wide error  handling  function  to  (nor‐
21       mally)  write  an  error message to the stderr.  The fmt parameter is a
22       printf(3S) format string, and any number arguments can be supplied. The
23       module  parameter, if non-zero, is printed before the message; it typi‐
24       cally is used to identify the software module  in  which  an  error  is
25       detected.
26
27       Applications  that  desire  to capture control in the event of an error
28       should use TIFFSetErrorHandler to override the default  error  handler.
29       A  NULL  (0) error handling function may be installed to suppress error
30       messages.
31

RETURN VALUES

33       TIFFSetErrorHandler returns a reference to the previous error  handling
34       function.
35

SEE ALSO

37       TIFFWarning(3TIFF), libtiff(3TIFF), printf(3)
38
39       Libtiff library home page: http://www.simplesystems.org/libtiff/
40
41
42
43libtiff                        October 15, 1995               TIFFError(3TIFF)
Impressum