src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/sys/eunix/termios_bsd.go (about)

     1  //go:build darwin || dragonfly || freebsd || netbsd || openbsd
     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 eunix
     8  
     9  import "golang.org/x/sys/unix"
    10  
    11  const (
    12  	getAttrIOCTL      = unix.TIOCGETA
    13  	setAttrNowIOCTL   = unix.TIOCSETA
    14  	setAttrDrainIOCTL = unix.TIOCSETAW
    15  	setAttrFlushIOCTL = unix.TIOCSETAF
    16  	flushIOCTL        = unix.TIOCFLUSH
    17  )