png_error

Name

png_error -- default function to handle fatal errors

Synopsis

#include <png.h>

void png_error(png_structp png_ptr, png_const_charp error_message);

Description

png_error() is the default error handling function for fatal errors. The default error handling functionality may be changed by using png_set_error_fn() to replace the error function at run-time.

Return Value

Errors