AuSetIOErrorHandler
set handler for fatal IO errors
- Provided by: libaudio-dev (Version: 1.9.4-4)
- Source: nas
- Report a bug
set handler for fatal IO errors
#include <audio/audiolib.h>
AuBool (*AuSetIOErrorHandler(server,
handler))()
AuServer *server;
AuBool (*handler)(AuServer *);
AuSetIOErrorHandler sets the fatal I/O error handler and returns the previous error handler. The error handler will be invoked if a system call error occurs (for example, the connection to the server was lost). As this is assumed to be a fatal condition, the error handler routine should not return. If the I/O error handler does return, the client process exits.
AuServerName, AuGetErrorDatabaseText, AuGetErrorText, AuSetErrorHandler, AuSynchronize.
audiolib - Network Audio System C Language Interface