A minimal C library handling OS-specific details when using serial ports https://sigrok.org/wiki/Libserialport