Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AuSetErrorHandler(3)	   Library Functions Manual	  AuSetErrorHandler(3)

Name
       AuSetErrorHandler - set nonfatal	error handler

Synopsis
       #include	<audio/audiolib.h>

       AuBool (*AuSetErrorHandler(server, handler))()
	   AuServer *server;
	   AuBool (*handler)(AuServer *, AuErrorEvent *);

Arguments
       server	 Specifies the connection to the audio server.

       handler	 Specifies the non-fatal error handler.	 Use NULL to reinstall
		 the default handler.

Description
       AuSetErrorHandler sets the non-fatal error handler and returns the pre-
       vious handler.  This error handler will be invoked whenever a non-fatal
       error  (error  event) is	received.  As this condition is	not assumed to
       be fatal, it is acceptable for the error	handler	to  return.   However,
       the  error  handler  should  not	 call any functions (directly or indi-
       rectly) on the server that will generate	protocol requests or that will
       look for	input events.

See Also
       AuServerName, AuGetErrorDatabaseText, AuGetErrorText,  AuSetIOErrorHan-
       dler, AuSynchronize.

       audiolib	- Network Audio	System C Language Interface

audiolib - error handling	     1.9.4		  AuSetErrorHandler(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=AuSetErrorHandler&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help