Matteo Scandolo | a428586 | 2020-12-01 18:10:10 -0800 | [diff] [blame] | 1 | // Copyright 2013 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | // +build darwin dragonfly freebsd netbsd openbsd |
| 6 | |
David K. Bainbridge | 0663189 | 2021-08-19 13:07:00 +0000 | [diff] [blame] | 7 | package term |
Matteo Scandolo | a428586 | 2020-12-01 18:10:10 -0800 | [diff] [blame] | 8 | |
| 9 | import "golang.org/x/sys/unix" |
| 10 | |
| 11 | const ioctlReadTermios = unix.TIOCGETA |
| 12 | const ioctlWriteTermios = unix.TIOCSETA |