AuSetIOErrorHandler(3nas)

AuSetIOErrorHandler3nas

Set handler for fatal io errors

Usage

#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.

Overview

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.

Releases

14 releases since Debian 2.1 (Slink); the text changed 6 times.

  1. 2.1–2.2
  2. 3.0
  3. 3.1
  4. 4.0
  5. 5.0–6.0
  6. 7
  7. 8–13

From libaudio-dev 1.9.4-9 in Debian 13 (Trixie). Parsed by carta from the page's man source.