k3s/vendor/golang.org/x/term/term_unix_bsd.go

14 lines
399 B
Go
Raw Normal View History

2019-01-12 04:58:27 +00:00
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
2019-01-12 04:58:27 +00:00
// +build darwin dragonfly freebsd netbsd openbsd
package term
2019-01-12 04:58:27 +00:00
import "golang.org/x/sys/unix"
const ioctlReadTermios = unix.TIOCGETA
const ioctlWriteTermios = unix.TIOCSETA