piframe-go/vendor/github.com/eiannone/keyboard/syscalls.go

13 lines
154 B
Go
Raw Normal View History

2020-08-29 23:11:30 +00:00
// +build !windows,!linux
package keyboard
import (
"golang.org/x/sys/unix"
)
const (
ioctl_GETATTR = unix.TIOCGETA
ioctl_SETATTR = unix.TIOCSETA
)