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

TIFFError

roentgen b75cab
NAME
roentgen b75cab
SYNOPSIS
roentgen b75cab
DESCRIPTION
roentgen b75cab
RETURN VALUES
roentgen b75cab
SEE ALSO
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab

NAME

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFFError, TIFFSetErrorHandler − library error

roentgen b75cab
handling interface

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SYNOPSIS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

#include <tiffio.h>

roentgen b75cab
roentgen b75cab

void TIFFError(const char *module, const

roentgen b75cab
char *fmt, ...)

roentgen b75cab
roentgen b75cab

#include <stdarg.h>

roentgen b75cab
roentgen b75cab

typedef void (*TIFFErrorHandler)(const char

roentgen b75cab
*module, const char *fmt,
roentgen b75cab
va_list ap);
roentgen b75cab
TIFFErrorHandler TIFFSetErrorHandler(TIFFErrorHandler
roentgen b75cab
handler);

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

DESCRIPTION

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFFError invokes the library-wide error handling

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

roentgen b75cab
roentgen b75cab

Applications that desire to capture control in the event

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

RETURN VALUES

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFFSetErrorHandler returns a reference to the

roentgen b75cab
previous error handling function.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SEE ALSO

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
printf(3)

roentgen b75cab
roentgen b75cab

Libtiff library home page:

roentgen b75cab
http://www.remotesensing.org/libtiff/

roentgen b75cab
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab