gensio_acc_startup(3)

πŸ’– gensio_acc_startup β€” start that accepter, bestie πŸ’–

okay so this one lives in the Library Functions Manual, section 3, and it's literally the "go go go" button for a gensio accepter. no cap.


✨ NAME ✨

gensio_acc_startup β€” Start a gensio accepter 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gensio/gensio.h>

int gensio_acc_startup(struct gensio_accepter *acc);

πŸŽ€ DESCRIPTION πŸŽ€

gensio_acc_startup starts the gensio accepter. and here's the tea: a gensio accepter is started not running β€” it just sits there, gorgeous but idle, main character energy with no plot. you must call this to start it up. it's giving "wake up babe, we're accepting connections." πŸ’…

Unlike gensio_open, this also enables events from the gensio accepter. so yeah, not just starting it β€” you're turning the vibes (events) ON too. πŸ”₯

bestie fr fr, don't skip this call. an unstarted accepter is just a decorative object. ✨

🌈 RETURN VALUES 🌈

  • Zero β€” returned on success 🫢 slay
  • a gensio error β€” returned on failure 😭 (check it, don't ignore it)

πŸ’œ SEE ALSO πŸ’œ


and that's the whole page, periodt. this lil icon comes to you from the Library Functions Manual, dated 27 Feb 2019, filed under gensio_acc_startup(3) β€” go start something up, queen πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from