|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/usr/share/doc/audiofile-0.2.6/docs/ |
Upload File : |
afSetErrorHandler allows an alternate error handling routine to be specified. SYNOPSIS #include <audiofile.h> AFerrfunc afSetErrorHandler (AFerrfunc errorFunction); PARAMETERS errorFunction is a pointer to an error handling function which has the following prototype: void error (long, char *, ...); RETURN VALUE The value returned from afSetErrorHandler is a pointer to the previous error handling function. DESCRIPTION The afSetErrorHandler() library function allows the user to override the default error handling function. The arguments are a long indicating an error code and a string (which may have printf-style formatting) followed by a variable argument list which contains any arguments for the format string.