AFSETERRORHANDLER(3)
β¨ AFSETERRORHANDLER β¨
okay bestie, we're in section 3 of the manual (that's the library-functions girlies π
) and this one is called afSetErrorHandler β say it with me, it's giving "let me handle my own problems actually" π«Ά
πΈ NAME πΈ
afSetErrorHandler β install a custom error handling routine
π SYNOPSIS π
#include <audiofile.h>
AFerrfunc afSetErrorHandler (AFerrfunc errorFunction);
π¦ PARAMETERS π¦
errorFunctionβ a pointer to an error handling function. that's it, that's the whole vibe, just hand her a function and she'll take it from there π
β¨ DESCRIPTION β¨
so like, afSetErrorHandler lets you β yes you, main character β install your own error handling function, and it overrides the default function. lowkey iconic behavior. the default one is fine and all but sometimes you want your errors to come with your own flair, y'know? and this is how you do it. no cap. π₯
π RETURN VALUE π
what you get back from afSetErrorHandler is a pointer to the previous error handling function. so if you ever wanna go back to how things were before you showed up and changed everything? she remembers. she always remembers. ππ«Ά
π AUTHOR π
Michael Pruett <michael@68k.org>
and that's a wrap, bestie!! this page came to you from Audio File Library 0.3.6, dated 03/06/2013 β fr fr, the receipts are right there, periodt β¨ππΈ go forth and handle your errors, you've got this π§π
π¦ where this page comes from
- alpine 3.24: audiofile-doc 0.3.6-r3 Β· LGPL-2.1-or-later
- arch rolling: audiofile 0.3.6-12 Β· Apache-2.0 AND GPL-2.0-or-later AND LGPL-2.1-or-later
- debian bookworm: libaudiofile-dev 0.3.6-5+deb12u1 Β· LGPL-2.1-or-later
- debian trixie: libaudiofile-dev 0.3.6-7+b1 Β· LGPL-2.1-or-later
- epel 10: audiofile-devel 1:0.3.6-44.el10_2 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- epel 9: audiofile-devel 1:0.3.6-36.el9 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 43: audiofile-devel 1:0.3.6-42.fc43 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 43: audiofile-devel 1:0.3.6-42.fc43 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 44: audiofile-devel 1:0.3.6-44.fc44 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 44: audiofile-devel 1:0.3.6-44.fc44 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- nixpkgs unstable: audiofile 0.3.6
- opensuse-leap 16.0: audiofile-doc 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: audiofile-doc 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: audiofile-doc 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: audiofile-doc 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu jammy: libaudiofile-dev 0.3.6-5+deb10u1build0.22.04.1 Β· LGPL-2.1-or-later
- ubuntu jammy: libaudiofile-dev 0.3.6-5build1 Β· LGPL-2.1-or-later
- ubuntu noble: libaudiofile-dev 0.3.6-6build2 Β· LGPL-2.1-or-later
- ubuntu questing: libaudiofile-dev 0.3.6-7build1
- ubuntu resolute: libaudiofile-dev 0.3.6-7build2 Β· LGPL-2.1-or-later
- ubuntu stonking: libaudiofile-dev 0.3.6-7build2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms