util_bsd.go 332 B

12345678910111213
  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 "syscall"
  7. const ioctlReadTermios = syscall.TIOCGETA
  8. const ioctlWriteTermios = syscall.TIOCSETA