| 1 |
afSetErrorHandler(3) |
| 2 |
==================== |
| 3 |
|
| 4 |
NAME |
| 5 |
---- |
| 6 |
afSetErrorHandler - install a custom error handling routine |
| 7 |
|
| 8 |
SYNOPSIS |
| 9 |
-------- |
| 10 |
#include <audiofile.h> |
| 11 |
|
| 12 |
AFerrfunc afSetErrorHandler (AFerrfunc errorFunction); |
| 13 |
|
| 14 |
PARAMETERS |
| 15 |
---------- |
| 16 |
'errorFunction' is a pointer to an error handling function. |
| 17 |
|
| 18 |
DESCRIPTION |
| 19 |
----------- |
| 20 |
`afSetErrorHandler` allows the user to install an error handling function |
| 21 |
overriding the default function. |
| 22 |
|
| 23 |
RETURN VALUE |
| 24 |
------------ |
| 25 |
The value returned from `afSetErrorHandler` is a pointer to the previous |
| 26 |
error handling function. |
| 27 |
|
| 28 |
AUTHOR |
| 29 |
------ |
| 30 |
Michael Pruett <[email protected]> |