LibSerial is a C++ library for serial port programming on POSIX OSs.
LibSerial is a C++ library that aids in serial port programing on POSIX OSs by exposing serial ports as iostream objects. It has support for USB-to-Serial converters as well.
The source code is available on SourceForge at https://sourceforge.net/projects/libserial/.