gitlab.com/apertussolutions/u-root@v7.0.0+incompatible/cmds/core/elvish/sys/ioctl_notbsd.go (about)

     1  // +build linux solaris
     2  
     3  // Copyright 2015 go-termios Author. All Rights Reserved.
     4  // https://github.com/go-termios/termios
     5  // Author: John Lenton <chipaca@github.com>
     6  
     7  package sys
     8  
     9  import "golang.org/x/sys/unix"
    10  
    11  const (
    12  	getAttrIOCTL      = unix.TCGETS
    13  	setAttrNowIOCTL   = unix.TCSETS
    14  	setAttrDrainIOCTL = unix.TCSETSW
    15  	setAttrFlushIOCTL = unix.TCSETSF
    16  	flushIOCTL        = unix.TCFLSH
    17  )