Profile

AuSetErrorHandler

AuSetErrorHandler

Name

AuSetIOErrorHandler - set handler for fatal IO errors

Synopsis

#include <audio/audiolib.h>

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

    AuServer *server;

    AuBool (*handler)(AuServer *);

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.

See Also

AuServerName, AuGetErrorDatabaseText, AuGetErrorText, AuSetErrorHandler, AuSynchronize.

audiolib - Network Audio System C Language Interface

AuGetErrorDatabaseText,AuGetErrorText,AuServerName,AuSetErrorHandler,AuSynchronize
Latest Tech News
Your Notes

Sign in/Sign up

Signing in to our system allows you to post your contributions and vote on the contributions of others. It will also allow you to get extra perts like having your favorites in the cloud and having your persistent personal notes wherever you go. More will be added as we scale up our services.

By signing in to our system, you agree our Member Terms and Conditions


Sign-in with one of the following services

Almost finished!

Please select a screen name for NET SOUP.



 Please send me news and special offers from NET SOUP.

 I have read and accept the Terms of Use.

COMPLIMENTARY EXAMPLES

We have no example yet for this entry


Your Name
Now

Community Contributions and Discussions

Modify your search

View Documentation

Jobs from Indeed