util_bsd.go 340 B

123456789101112
  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. // +build darwin dragonfly freebsd netbsd openbsd
  5. package terminal
  6. import "golang.org/x/sys/unix"
  7. const ioctlReadTermios = unix.TIOCGETA
  8. const ioctlWriteTermios = unix.TIOCSETA