roar_errorstring(3)

πŸ“¦ version 1.0~beta12, in ubuntu jammy

πŸ’– roar_errorstring(3) πŸ’–

okay so bestie, welcome to the RoarAudio Programmer's Manual β€” yes this is roar_errorstring(3), and yes it's short, but it's lowkey a whole vibe ✨


🌸 NAME 🌸

roar_errorstring</ppurple> β€” a Lion-readable error string for the current RoarAudio error value πŸ¦πŸ’…

like. it's the error message but it speaks Lion. iconic.


πŸŽ€ SYNOPSIS πŸŽ€

#include <roaraudio.h>

that's it. that's the whole synopsis. we love a minimal queen 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, this variable is a read-only string of the current RoarAudio error code. fr fr, read-only β€” don't even think about writing to it, bestie, that's not the vibe πŸ™ˆ

it may be defined as a variable or as a macro, depending on how it's feeling that day. either way it's giving the same energy.

and here's the tea: it is equivalent to:

roar_error2str(roar_error)

so if you already know roar_error2str(roar_error), you literally already know this. no cap. it's the same thing, just wrapped in a cute little variable-shaped package 🎁


⭐ VALUE ⭐

Constants β€” a string describing the error error, or NULL on error. 😭

wait, "error error"? yeah bestie, that's what it says, and I am not about to fix it β€” the facts stay exactly as they are, periodt. πŸ’€

so: a string that describes the error, OR NULL if there's an error. the audacity of NULL tbh.


πŸ’€ EXAMPLES πŸ’€

FIXME

...yeah. that's the example. the example is literally FIXME. the manpage authors said "we'll do it later" and never did, and honestly? relatable main character energy 🧚


🌈 SEE ALSO 🌈

  • roar_error2str(3) β€” the actual function this whole thing is standing on
  • roar_error(3) β€” the error value itself, the source of all the drama
  • libroar(7) β€” the library, the whole squad
  • RoarAudio(7) β€” the project, the moment, the legend πŸ‘‘

and that's the page!! πŸ“

RoarAudio β€” July 2012 β€” mwah, thanks for reading bestie, go check your error strings, stay slay, drink water πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from