sergensio(5)
π sergensio(5) π
okay bestie, so this is a File Formats Manual page for sergensio, and I'm gonna walk you through it like we're texting at 2am. it's giving serial port energy, and honestly? iconic. π
β¨ NAME β¨
sergensio β how to use a serial gensio π¦
πΈ DESCRIPTION πΈ
NOTE:sergensiois deprecated, bestie. the functionality for it is not done with theacontrol()andcontrol()functions in the main gensio type. so like, it's still here, but it's the vintage piece in your closet you don't wear anymore. π
so. a sergensio object is a type of gensio that provides serial port functions. you can not directly create it β no cap, you literally can't. instead, you create a gensio that has serial port capabilities and then cast it using the gensio_to_sergensio() function. it's giving "you don't make the star, you make the star's understudy and then β¨promoteβ¨ them."
a sergensio object may be a client, meaning that you can set serial port parameters for that gensio. this is what you would normally expect, and it works for all serial port types. main character behavior, truly. π
a sergensio object may also be a server, meaning that it can receive requests from the remote end to set serial port parameters. currently only the telnet gensio has server capability, so a remote end may request that serial port parameters be set. it's the one friend in the group chat who's allowed to change the plans. π«Ά
π USING A CLIENT SERGENSIO
ASYNCHRONOUS EVENTS
(no details given here in the original, bestie β this section is just vibing with its title)
π USING A SERVER SERGENSIO
ASYNCHRONOUS EVENTS
(same deal β this one's just a heading holding space for itself)
π₯ SEE ALSO π₯
go read these next, fr fr. it's a whole friend group:
gensio(5)sergensio_to_gensio(3)gensio_to_sergensio(3)sergensio_get_user_data(3)sergensio_is_client(3)sergensio_baud(3)sergensio_datasize(3)sergensio_parity(3)sergensio_stopbits(3)sergensio_flowcontrol(3)sergensio_iflowonctrol(3)sergensio_sbreak(3)sergensio_dtr(3)sergensio_rts(3)sergensio_signature(3)sergensio_linestate(3)sergensio_modemstate(3)sergensio_flowcontrol_state(3)sergensio_flush(3)sergensio_send_break(3)sergensio_b_alloc(3)sergensio_b_free(3)sergensio_baud_b(3)sergensio_datasize_b(3)sergensio_parity_b(3)sergensio_stopbits_b(3)sergensio_flowcontrol_b(3)sergensio_iflowonctrol_b(3)sergensio_sbreak_b(3)sergensio_dtr_b(3)sergensio_rts_b(3)gensio_event(3)sergensio_event(3)
π KNOWN PROBLEMS π
None. β¨ not a single red flag. we love a clean bill of health. π
π AUTHOR π
Corey Minyard <minyard@acm.org> β the legend, the blueprint, the moment. π
and that's the whole page, bestie!! this was sergensio(5), titled "Handling a serial gensio", dated 07/24/20, from the File Formats Manual. slay, go forth, and cast responsibly. π
β¨
π¦ 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
- debian trixie: libgensio-dev 2.8.13-7 Β· GPL-2.0-only
- epel 9: gensio 2.8.15-1.el9 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- fedora 43: gensio 2.8.15-5.fc43 Β· GPL-2.0-only AND LGPL-2.1-only AND Apache-2.0
- opensuse-leap 16.0: gensio 2.8.2-bp160.1.13 Β· Apache-2.0 AND GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: gensio 2.8.2-bp160.1.13 Β· Apache-2.0 AND GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: gensio 2.8.2-bp160.1.13 Β· Apache-2.0 AND GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: gensio 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms