1AuSetErrorHandler(3) Library Functions Manual AuSetErrorHandler(3)
2
3
4
6 AuSetErrorHandler - set nonfatal error handler
7
9 #include <audio/audiolib.h>
10
11 AuBool (*AuSetErrorHandler(server, handler))()
12 AuServer *server;
13 AuBool (*handler)(AuServer *, AuErrorEvent *);
14
16 server Specifies the connection to the audio server.
17
18 handler Specifies the non-fatal error handler. Use NULL to reinstall
19 the default handler.
20
22 AuSetErrorHandler sets the non-fatal error handler and returns the pre‐
23 vious handler. This error handler will be invoked whenever a non-fatal
24 error (error event) is received. As this condition is not assumed to
25 be fatal, it is acceptable for the error handler to return. However,
26 the error handler should not call any functions (directly or indi‐
27 rectly) on the server that will generate protocol requests or that will
28 look for input events.
29
31 AuServerName, AuGetErrorDatabaseText, AuGetErrorText, AuSetIOErrorHan‐
32 dler, AuSynchronize.
33
34 audiolib - Network Audio System C Language Interface
35
36
37
38audiolib - error handling 1.9.5 AuSetErrorHandler(3)