2017-12-02 16:24:05 -08: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-03-12 10:41:07 -08:00
|
|
|
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
|
2017-12-02 16:24:05 -08:00
|
|
|
// +build darwin dragonfly freebsd netbsd openbsd
|
|
|
|
|
2021-05-29 15:25:30 -07:00
|
|
|
package term
|
2017-12-02 16:24:05 -08:00
|
|
|
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
|
|
|
|
const ioctlReadTermios = unix.TIOCGETA
|
|
|
|
const ioctlWriteTermios = unix.TIOCSETA
|