afSetErrorHandler(3)

afSetErrorHandler3

Install a custom error handling routine

Usage

#include <audiofile.h>
AFerrfunc afSetErrorHandler (AFerrfunc errorFunction);

Parameters

errorFunction is a pointer to an error handling function.

Overview

afSetErrorHandler allows the user to install an error handling function overriding the default function.

Return value

The value returned from afSetErrorHandler is a pointer to the previous error handling function.

Releases

Unchanged in 7 releases since Debian 8 (Jessie).

  1. 8–Arch

Author

Michael Pruett <[email protected]>

From audiofile 0.3.6-12 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.