1AuSetErrorHandler(3)       Library Functions Manual       AuSetErrorHandler(3)
2
3
4

Name

6       AuSetIOErrorHandler - set handler for fatal IO errors
7

Synopsis

9       #include <audio/audiolib.h>
10
11       AuBool (*AuSetIOErrorHandler(server, handler))()
12           AuServer *server;
13           AuBool (*handler)(AuServer *);
14

Arguments

16       server    Specifies the connection to the audio server.
17
18       handler   Specifies the fatal error handler.  Use NULL to reinstall the
19                 default fatal error handler.
20

Description

22       AuSetIOErrorHandler sets the fatal I/O error handler  and  returns  the
23       previous  error handler.  The error handler will be invoked if a system
24       call error occurs (for example, the connection to the server was lost).
25       As  this  is assumed to be a fatal condition, the error handler routine
26       should not return.  If the I/O error handler does  return,  the  client
27       process exits.
28

See Also

30       AuServerName,  AuGetErrorDatabaseText,  AuGetErrorText,  AuSetErrorHanā€
31       dler, AuSynchronize.
32
33       audiolib - Network Audio System C Language Interface
34
35
36
37audiolib - error handling            1.9.4                AuSetErrorHandler(3)
Impressum