AuKillClient(3)

πŸ’… AuKillClient β€” bestie edition

okay so this is a page from the Library Functions Manual, and it's called AuKillClient. Sit down, hydrate, we're doing audio server cleanup ✨


🌸 NAME 🌸

AuKillClient β€” destroy a client or its remaining resources πŸ§ΉπŸ’€

πŸŽ€ SYNOPSIS πŸŽ€

#include <audio/audiolib.h>

void AuKillClient(server, resource, status)
    AuServer *server;
    AuID resource;
    AuStatus *status; /* RETURN */

🫢 ARGUMENTS 🫢

  • server β€” the connection to the audio server. your little link to the mothership, if you will 🌈
  • resource β€” the resource tied to the client you want destroyed, or the constant AuCloseDownDestroy. it's giving "who are we ending today" πŸ’…
  • status β€” if it's not NULL, the output buffer gets flushed and the status comes back from the server. if it is NULL, no tea is spilled back to you πŸ™ˆ (it's marked /* RETURN */ in the synopsis, so it's the one handing you info back)

✨ DESCRIPTION ✨

okay so AuKillClient forces a close-down of the client that created resource. no gentle goodbye, no soft launch, just close-down, periodt.

if that client has already terminated β€” in either AuCloseDownRetainPermanent or AuCloseDownRetainTemporary mode β€” then all of the client's resources get destroyed. like, the whole closet, gone 🧚✨

and if resource is AuCloseDownDestroy, then the resources of all clients that have terminated in AuCloseDownRetainTemporary are destroyed. yeah. all of them. group cleanup era πŸ”₯

πŸ’€ ERRORS πŸ’€

  • AuBadValue

πŸ‘‘ SEE ALSO πŸ‘‘

  • AuSetCloseDownMode
  • audiolib β€” Network Audio System C Language Interface

and that's the whole vibe, bestie πŸ¦‹ this came from audiolib β€” client connections, version 1.9.4, and yes it's literally titled AuKillClient(3) up at the top πŸ’– slay, go free your resources 🌸

πŸ“¦ where this page comes from