MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/local/ssl/share/doc/audiofile-0.2.6/docs/afSetErrorHandler
afSetErrorHandler allows an alternate error handling routine to be
specified.

SYNOPSIS

	#include <audiofile.h>

	AFerrfunc afSetErrorHandler (AFerrfunc errorFunction);

PARAMETERS

errorFunction is a pointer to an error handling function which has the
following prototype:
	void error (long, char *, ...);

RETURN VALUE

The value returned from afSetErrorHandler is a pointer to the previous
error handling function.

DESCRIPTION

The afSetErrorHandler() library function allows the user to override
the default error handling function.

The arguments are a long indicating an error code and a string (which
may have printf-style formatting) followed by a variable argument list
which contains any arguments for the format string.