1sergensio(5) File Formats Manual sergensio(5)
2
3
4
6 sergensio - How to use a serial gensio
7
9 NOTE: sergensio is deprecated, the functionality for it is not done
10 with the acontrol() and control() functions in the main gensio type.
11
12 A sergensio object is a type of gensio that provides serial port func‐
13 tions. It cannot be directly created, instead you create a gensio that
14 has serial port capabilities and cast it using the gensio_to_sergen‐
15 sio() function.
16
17 A sergensio object may be a client, meaning that you can set serial
18 port parameters for that gensio. This is what you would normally ex‐
19 pect, and works for all serial port types.
20
21 A sergensio object may also be a server, meaning that it can receive
22 requests from the remote end to set serial port parameters. Currently
23 only the telnet gensio has server capability, so a remote end may re‐
24 quest that serial port parameters be set.
25
27 ASYNCHRONOUS EVENTS
29 ASYNCHRONOUS EVENTS
31 gensio(5), sergensio_to_gensio(3), gensio_to_sergensio(3), sergen‐
32 sio_get_user_data(3), sergensio_is_client(3), sergensio_baud(3), ser‐
33 gensio_datasize(3), sergensio_parity(3), sergensio_stopbits(3), sergen‐
34 sio_flowcontrol(3), sergensio_iflowonctrol(3), sergensio_sbreak(3),
35 sergensio_dtr(3), sergensio_rts(3), sergensio_signature(3), sergen‐
36 sio_linestate(3), sergensio_modemstate(3), sergensio_flowcon‐
37 trol_state(3), sergensio_flush(3), sergensio_send_break(3), sergen‐
38 sio_b_alloc(3), sergensio_b_free(3), sergensio_baud_b(3), sergen‐
39 sio_datasize_b(3) sergensio_parity_b(3), sergensio_stopbits_b(3), ser‐
40 gensio_flowcontrol_b(3), sergensio_iflowonctrol_b(3), sergen‐
41 sio_sbreak_b(3), sergensio_dtr_b(3), sergensio_rts_b(3), gen‐
42 sio_event(3), sergensio_event(3)
43
45 None.
46
48 Corey Minyard <minyard@acm.org>
49
50
51
52Handling a serial gensio 07/24/20 sergensio(5)