github.com/prattmic/llgo-embedded@v0.0.0-20150820070356-41cfecea0e1e/third_party/liner/input_linux.go (about)

     1  // +build linux
     2  
     3  package liner
     4  
     5  import "syscall"
     6  
     7  const (
     8  	getTermios = syscall.TCGETS
     9  	setTermios = syscall.TCSETS
    10  )
    11  
    12  const (
    13  	icrnl  = syscall.ICRNL
    14  	inpck  = syscall.INPCK
    15  	istrip = syscall.ISTRIP
    16  	ixon   = syscall.IXON
    17  	opost  = syscall.OPOST
    18  	cs8    = syscall.CS8
    19  	isig   = syscall.ISIG
    20  	icanon = syscall.ICANON
    21  	iexten = syscall.IEXTEN
    22  )
    23  
    24  type termios struct {
    25  	syscall.Termios
    26  }