source: trunk/third/audiofile/docs/afSetErrorHandler @ 17099

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 
1afSetErrorHandler allows an alternate error handling routine to be
2specified.
3
4SYNOPSIS
5
6        #include <audiofile.h>
7
8        AFerrfunc afSetErrorHandler (AFerrfunc errorFunction);
9
10PARAMETERS
11
12errorFunction is a pointer to an error handling function which has the
13following prototype:
14        void error (long, char *, ...);
15
16RETURN VALUE
17
18The value returned from afSetErrorHandler is a pointer to the previous
19error handling function.
20
21DESCRIPTION
22
23The afSetErrorHandler() library function allows the user to override
24the default error handling function.
25
26The arguments are a long indicating an error code and a string (which
27may have printf-style formatting) followed by a variable argument list
28which contains any arguments for the format string.
Note: See TracBrowser for help on using the repository browser.