[S390] termio <-> termios conversion error handling.