From f9151a123d7943fb7e944a38b1aa835c03b0188e Mon Sep 17 00:00:00 2001 From: "Graydon, Tracy" Date: Wed, 28 Nov 2012 18:07:32 -0800 Subject: Initial commit of audiofile --- docs/afSetErrorHandler | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/afSetErrorHandler (limited to 'docs/afSetErrorHandler') diff --git a/docs/afSetErrorHandler b/docs/afSetErrorHandler new file mode 100644 index 0000000..0ff5eb5 --- /dev/null +++ b/docs/afSetErrorHandler @@ -0,0 +1,28 @@ +afSetErrorHandler allows an alternate error handling routine to be +specified. + +SYNOPSIS + + #include + + 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. -- cgit v1.2.3