src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/sys/eunix/termios_notbsd.go (about) 1 //go: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 eunix 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 )