SysTutorials

Linux Manual Pages › Section 3

afseterrorhandler(3)

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 [at] 68k.org>