Added termios and test script

termios functions and constants marked as POSIX:2001-only