afSetErrorHandler man page

afSetErrorHandler — install a custom error handling routine

Synopsis

#include <audiofile.h>
AFerrfunc afSetErrorHandler (AFerrfunc errorFunction);

Parameters

errorFunction is a pointer to an error handling function.

Description

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

Return Value

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

Author

Michael Pruett <michael@68k.org>

Info

03/06/2013 Audio File Library 0.3.6