RS-232 for Linux, FreeBSD and windows in C
Credits to original author: Teunis van Beelen
Taken from http://www.teuniz.net/RS-232/
Here you can find code to use the serial port. It has been tested with GCC on Linux and Mingw-w64 on Windows. Handshaking or flowcontrol is not supported. It uses polling to receive characters from the serial port. Interrupt/event-based is not supported.
Workd on Linux/BSD or Windows
make
GPL © Kanelis Ilias