github.com/yinchengtsinghua/golang-Eos-dpos-Ethereum@v0.0.0-20190121132951-92cc4225ed8e/log/term/terminal_freebsd.go (about) 1 2 //此源码被清华学神尹成大魔王专业翻译分析并修改 3 //尹成QQ77025077 4 //尹成微信18510341407 5 //尹成所在QQ群721929980 6 //尹成邮箱 yinc13@mails.tsinghua.edu.cn 7 //尹成毕业于清华大学,微软区块链领域全球最有价值专家 8 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 9 package term 10 11 import ( 12 "syscall" 13 ) 14 15 const ioctlReadTermios = syscall.TIOCGETA 16 17 //Go 1.2不包括FreeBSD的Termios。这应该在1.3中添加,并且可以与达尔文航站楼合并。 18 type Termios struct { 19 Iflag uint32 20 Oflag uint32 21 Cflag uint32 22 Lflag uint32 23 Cc [20]uint8 24 Ispeed uint32 25 Ospeed uint32 26 }