Tentative support for OpenBSD

See #27
This commit is contained in:
Cristian Maglie
2017-03-04 22:40:50 +01:00
parent 4cc831e192
commit 4366d1c449
11 changed files with 116 additions and 5 deletions

View File

@@ -56,3 +56,7 @@ const tcCRTSCTS uint32 = tcCCTS_OFLOW
const ioctlTcgetattr = unix.TIOCGETA
const ioctlTcsetattr = unix.TIOCSETA
const ioctlTcflsh = unix.TIOCFLUSH
func toTermiosSpeedType(speed uint32) uint32 {
return speed
}