github.com/samgwo/go-ethereum@v1.8.2-0.20180302101319-49bcb5fbd55e/log/term/terminal_freebsd.go (about)

     1  package term
     2  
     3  import (
     4  	"syscall"
     5  )
     6  
     7  const ioctlReadTermios = syscall.TIOCGETA
     8  
     9  // Go 1.2 doesn't include Termios for FreeBSD. This should be added in 1.3 and this could be merged with terminal_darwin.
    10  type Termios struct {
    11  	Iflag  uint32
    12  	Oflag  uint32
    13  	Cflag  uint32
    14  	Lflag  uint32
    15  	Cc     [20]uint8
    16  	Ispeed uint32
    17  	Ospeed uint32
    18  }