logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AuSetIOErrorHandler - set handler for fatal IO errors

Arguments

server    Specifies the connection to the audio server.

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

Description

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.

Name

AuSetIOErrorHandler - set handler for fatal IO errors

See Also

AuServerName, AuGetErrorDatabaseText, AuGetErrorText, AuSetErrorHandler, AuSynchronize.

       audiolib - NetworkAudioSystem C Language Interface

audiolib - error handling                             1.9.4                                 AuSetErrorHandler(3)

Synopsis

       #include <audio/audiolib.h>

       AuBool (*AuSetIOErrorHandler(server, handler))()
           AuServer *server;
           AuBool (*handler)(AuServer *);

See Also