muroar_quit(3)
β¨ muroar_quit β¨
okay bestie, welcome to the muRoar Programmer's Manual π this one's about muroar_quit(3) β the graceful goodbye function, the Irish exit's well-mannered cousin π«Ά
πΈ NAME πΈ
muroar_quit β disconnect from RoarAudio sound server π
π¦ SYNOPSIS π¦
#include <muroar.h>
int muroar_quit (muroar_t fh);
π DESCRIPTION π
so this function disconnects a control connection from the sound server, and it does it in a clean way. no mess, no drama, just vibes β¨
the socket gets closed by this function. no additional close(2) is needed β like, she already handled it, don't double-close her, that's not the move π
β οΈ okay important one, listen up: open data connections (streams) which are created bymuroar_stream(3)must not be closed using this function. nope. not this one. they must be closed usingmuroar_close(3). different function, different job, don't mix them up bestie π
β RETURN VALUE β
- on success, this call returns
0π - on error,
-1is returned π
that's it, that's the whole thing, she's simple and she knows it π
π HISTORY π
this function first appeared in muRoar version 0.1rc0. iconic behavior, honestly. she's been here since the beginning π§
π SEE ALSO π
and that's the tea, bestie β written by the muRoar girlies back in April 2012, muRoar era, and she's still serving π β¨
π¦ where this page comes from
- ubuntu jammy: libmuroar-dev 0.1.13-7 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms