2016-12-11 01:55:21 +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.
|
|
|
|
|
2022-07-07 15:38:22 +00:00
|
|
|
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
|
2016-12-11 01:55:21 +00:00
|
|
|
// +build darwin dragonfly freebsd netbsd openbsd
|
|
|
|
|
2021-06-24 18:19:37 +00:00
|
|
|
package term
|
2016-12-11 01:55:21 +00:00
|
|
|
|
2021-06-24 18:19:37 +00:00
|
|
|
import "golang.org/x/sys/unix"
|
2016-12-11 01:55:21 +00:00
|
|
|
|
2021-06-24 18:19:37 +00:00
|
|
|
const ioctlReadTermios = unix.TIOCGETA
|
|
|
|
const ioctlWriteTermios = unix.TIOCSETA
|