gensio_acc_get_type(3)
π gensio_acc_get_type β from the Library Functions Manual β¨
okay bestie, sit down, we're doing the gensio accepter info dump and honestly? it's giving "short but important." π
πΈ NAME πΈ
gensio_acc_get_type, gensio_acc_is_reliable, gensio_acc_is_packet, gensio_acc_is_message, gensio_acc_is_mux β these five cuties hand you general info about a gensio accepter. that's it, that's the job. π
β¨ SYNOPSIS β¨
#include <gensio/gensio.h>
const char *gensio_acc_get_type(struct gensio *io,
unsigned int depth);
bool gensio_acc_is_reliable(struct gensio *io);
bool gensio_acc_is_packet(struct gensio *io);
bool gensio_acc_is_mux(struct gensio *io);
like, yes, gensio_acc_is_message is in the NAME section and the DESCRIPTION section but not up here β i don't make the rules, i just report them fr fr π
π¦ DESCRIPTION π¦
gensio_acc_get_type hands you the type string for the gensio accepter. if depth is 0, you get the accepter itself. if depth is greater than 0, you get one of its children instead β the deeper you go, the further down the family tree you're peeking. π
and if depth is bigger than the number of children that exist? it returns NULL. no children, no string, no cap. π
gensio_acc_is_reliable returns true if the genios produced by this accepter are reliable. yes, we're being normal about it. for the full tea, go read gensio_is_reliable(3). β
gensio_acc_is_packet returns whether the genios produced by this accepter are packet-oriented. the details live in gensio_is_packet(3), bestie, go look. π¦
gensio_acc_is_message returns whether the genios produced by this accepter are message-oriented. see gensio_is_message(3) for the whole story. π
gensio_acc_is_mux returns whether the genios produced by this accepter are capable of multiplexing. that's main character energy, honestly. gensio_is_mux(3) has the details. π
lowkey a vibe check: these are all just yes/no answers (except gensio_acc_get_type, which is the one actually handing out strings). no surprises, no drama, just facts. π
π«Ά SEE ALSO π«Ά
gensio_err(3)gensio(5)gensio_get_type(3)gensio_is_reliable(3)gensio_is_packet(3)gensio_is_message(3)
and that's the whole page, bestie, you ate it. π this little gem is dated 27 Feb 2019 and comes to you straight from the gensio_acc_get_type(3) page β go forth and check your accepters, periodt. πβ¨
π¦ where this page comes from
- alpine 3.22: gensio-doc 2.8.14-r0 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- alpine 3.23: gensio-doc 2.8.14-r0 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- alpine 3.24: gensio-doc 2.8.14-r0 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- arch rolling: gensio 3.0.4-1 Β· GPL
- debian trixie: libgensio-dev 2.8.13-7 Β· GPL-2.0-only
- epel 9: libgensio-devel 2.8.15-1.el9 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- fedora 43: libgensio-devel 2.8.15-5.fc43 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- fedora 43: libgensio-devel 2.8.15-5.fc43 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- fedora 43: libgensio-devel 3.0.4-1.fc43 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- fedora 43: libgensio-devel 3.0.4-1.fc43 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- fedora 44: libgensio-devel 3.0.2-1.fc44 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- fedora 44: libgensio-devel 3.0.2-1.fc44 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- fedora 44: libgensio-devel 3.0.4-1.fc44 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- fedora 44: libgensio-devel 3.0.4-1.fc44 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- nixos 26.05: gensio 3.0.2
- nixpkgs unstable: gensio 3.0.2
- opensuse-leap 16.0: gensio-devel 2.8.2-bp160.1.13 Β· Apache-2.0 AND GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: gensio-devel 2.8.2-bp160.1.13 Β· Apache-2.0 AND GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: gensio-devel 2.8.2-bp160.1.13 Β· Apache-2.0 AND GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: gensio-devel 2.8.2-bp160.1.13 Β· Apache-2.0 AND GPL-2.0-only AND LGPL-2.1-only
- ubuntu noble: libgensio-dev 2.8.2-6.1build1 Β· GPL-2.0-only
- ubuntu questing: libgensio-dev 2.8.13-7
- ubuntu resolute: libgensio-dev 3.0.0-1build1 Β· GPL-2.0-only
- ubuntu stonking: libgensio-dev 3.0.0-1ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms