Sanity check to verify termios structure flags
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
ssanity-test.c
ssanity.c
ssanity.h

README

ssanity is a way to verify that the intended flags to be set or unset in the termios structure are indeed set or unset.

Terminal programming is very platform-dependant (so sayeth Stevens and Rago in Advanced Programming in the Unix Environment) so your mileage may vary. This works fine in Ubuntu 12.04.

Massive hat tip to Tod E. Kurt (http://todbot.com/blog/) for having the only readable example of serial communication with an Arduino.