Revision 17099,
733 bytes
checked in by ghudson, 23 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r17098,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | afSetErrorHandler allows an alternate error handling routine to be |
---|
2 | specified. |
---|
3 | |
---|
4 | SYNOPSIS |
---|
5 | |
---|
6 | #include <audiofile.h> |
---|
7 | |
---|
8 | AFerrfunc afSetErrorHandler (AFerrfunc errorFunction); |
---|
9 | |
---|
10 | PARAMETERS |
---|
11 | |
---|
12 | errorFunction is a pointer to an error handling function which has the |
---|
13 | following prototype: |
---|
14 | void error (long, char *, ...); |
---|
15 | |
---|
16 | RETURN VALUE |
---|
17 | |
---|
18 | The value returned from afSetErrorHandler is a pointer to the previous |
---|
19 | error handling function. |
---|
20 | |
---|
21 | DESCRIPTION |
---|
22 | |
---|
23 | The afSetErrorHandler() library function allows the user to override |
---|
24 | the default error handling function. |
---|
25 | |
---|
26 | The arguments are a long indicating an error code and a string (which |
---|
27 | may have printf-style formatting) followed by a variable argument list |
---|
28 | which contains any arguments for the format string. |
---|
Note: See
TracBrowser
for help on using the repository browser.