kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
<meta content="groff -Thtml, see www.gnu.org" name="generator">
kusano 7d535a
<meta content="text/css" name="Content-Style">
kusano 7d535a
<title>TIFFError</title>
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

TIFFError

kusano 7d535a
NAME
kusano 7d535a
SYNOPSIS
kusano 7d535a
DESCRIPTION
kusano 7d535a
RETURN VALUES
kusano 7d535a
SEE ALSO
kusano 7d535a
kusano 7d535a

kusano 7d535a
kusano 7d535a

NAME

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

TIFFError, TIFFSetErrorHandler − library error

kusano 7d535a
handling interface

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

SYNOPSIS

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

#include <tiffio.h>

kusano 7d535a
kusano 7d535a

void TIFFError(const char *module, const

kusano 7d535a
char *fmt, ...)

kusano 7d535a
kusano 7d535a

#include <stdarg.h>

kusano 7d535a
kusano 7d535a

typedef void (*TIFFErrorHandler)(const char

kusano 7d535a
*module, const char *fmt,
kusano 7d535a
va_list ap);
kusano 7d535a
TIFFErrorHandler TIFFSetErrorHandler(TIFFErrorHandler
kusano 7d535a
handler);

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

DESCRIPTION

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

TIFFError invokes the library-wide error handling

kusano 7d535a
function to (normally) write an error message to the
kusano 7d535a
stderr. The fmt parameter is a
kusano 7d535a
printf(3S) format string, and any number arguments
kusano 7d535a
can be supplied. The module parameter, if non-zero,
kusano 7d535a
is printed before the message; it typically is used to
kusano 7d535a
identify the software module in which an error is
kusano 7d535a
detected.

kusano 7d535a
kusano 7d535a

Applications that desire to capture control in the event

kusano 7d535a
of an error should use TIFFSetErrorHandler to
kusano 7d535a
override the default error handler. A <small>NULL</small>
kusano 7d535a
(0) error handling function may be installed to suppress
kusano 7d535a
error messages.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

RETURN VALUES

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

TIFFSetErrorHandler returns a reference to the

kusano 7d535a
previous error handling function.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

SEE ALSO

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

TIFFWarning(3TIFF), libtiff(3TIFF),

kusano 7d535a
printf(3)

kusano 7d535a
kusano 7d535a

Libtiff library home page:

kusano 7d535a
http://www.remotesensing.org/libtiff/

kusano 7d535a
kusano 7d535a
kusano 7d535a

kusano 7d535a
kusano 7d535a