util_linux.go 457 B

1234567891011
  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. package terminal
  5. // These constants are declared here, rather than importing
  6. // them from the syscall package as some syscall packages, even
  7. // on linux, for example gccgo, do not declare them.
  8. const ioctlReadTermios = 0x5401 // syscall.TCGETS
  9. const ioctlWriteTermios = 0x5402 // syscall.TCSETS