DOKK / manpages / debian 12 / libaudiofile-dev / afSetErrorHandler.3.en
AFSETERRORHANDLER(3)   AFSETERRORHANDLER(3)

afSetErrorHandler - install a custom error handling routine

#include <audiofile.h>

AFerrfunc afSetErrorHandler (AFerrfunc errorFunction);

errorFunction is a pointer to an error handling function.

afSetErrorHandler allows the user to install an error handling function overriding the default function.

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

Michael Pruett <michael@68k.org>

03/06/2013 Audio File Library 0.3.6