github.com/linapex/ethereum-dpos-chinese@v0.0.0-20190316121959-b78b3a4a1ece/log/term/terminal_freebsd.go (about)

     1  
     2  //<developer>
     3  //    <name>linapex 曹一峰</name>
     4  //    <email>linapex@163.com</email>
     5  //    <wx>superexc</wx>
     6  //    <qqgroup>128148617</qqgroup>
     7  //    <url>https://jsq.ink</url>
     8  //    <role>pku engineer</role>
     9  //    <date>2019-03-16 12:09:41</date>
    10  //</624342647116402688>
    11  
    12  package term
    13  
    14  import (
    15  	"syscall"
    16  )
    17  
    18  const ioctlReadTermios = syscall.TIOCGETA
    19  
    20  //Go 1.2不包括FreeBSD的Termios。这应该在1.3中添加,并且可以与达尔文航站楼合并。
    21  type Termios struct {
    22  	Iflag  uint32
    23  	Oflag  uint32
    24  	Cflag  uint32
    25  	Lflag  uint32
    26  	Cc     [20]uint8
    27  	Ispeed uint32
    28  	Ospeed uint32
    29  }
    30