S3D_QUIT(3)

✨ S3D_QUIT(3) ✨

okay bestie, welcome to the s3d manual, section 3, page for s3d_quit πŸ’– this is the one that says bye-bye.


🌸 NAME 🌸

s3d_quit β€” shutdown s3d library 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <s3d.h>

int s3d_quit(void);

like… that's it. one function. no arguments. she's simple and she's iconic πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So what does she actually do? Two things, and both of them matter:

  • Closes the connection 🌈
  • Clears the event-stack ✨

and plot twist β€” you can also use it to leave s3d_mainloop(). not me finding that out and being obsessed 😭 so yeah, if you're stuck in the mainloop and you want out, this is your girl.


πŸ‘‘ AUTHOR πŸ‘‘

Simon Wunderlich Author of s3d πŸ’œ


fr fr, that's the whole page. no cap, no hidden options, no secret flags. she just closes the connection, clears the event-stack, and dips 🧚

later bestie!! this was s3d manual, section 3, and yes β€” S3D_QUIT(3) one last time for the road πŸ’…βœ¨