Good ${time_of_the_day}!
I wrote some code that implement API for working with serial interface devices (RS-232/422/485), i.e. termios API. It's covering now only posix specific features of the termios specification (i.e. no iutf8 etc.). I hope, the following code can be useful.