<div dir="ltr">Hello,<div><br></div><div>It is possible to communicate via serial port by using input/output ports. However, to achieve greater level of control, one needs to use other means - for linux systems one may want to use API defined in termios.h.</div><div><br></div><div>I wanted to use Racket FFI for those functions, however, they require file handle as parameter. Now, when I open port using open-input(-output)-port I receive Racket variable where the internal OS handle is hidden. What are the possibilities here? Is it possible to somehow grab file handle from input/output port structures?</div><div><br></div></div>