aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-04-11 07:25:53 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-04-11 07:25:53 +0800
commit706a1e552c96bf75c60844c1dc28fc83778795fc (patch)
treebabbc6193bbdbde23f063a26544c630434047793 /vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go
parent18bbe124259a852b349e8238ffe394639e29d803 (diff)
downloadgo-tangerine-706a1e552c96bf75c60844c1dc28fc83778795fc.tar
go-tangerine-706a1e552c96bf75c60844c1dc28fc83778795fc.tar.gz
go-tangerine-706a1e552c96bf75c60844c1dc28fc83778795fc.tar.bz2
go-tangerine-706a1e552c96bf75c60844c1dc28fc83778795fc.tar.lz
go-tangerine-706a1e552c96bf75c60844c1dc28fc83778795fc.tar.xz
go-tangerine-706a1e552c96bf75c60844c1dc28fc83778795fc.tar.zst
go-tangerine-706a1e552c96bf75c60844c1dc28fc83778795fc.zip
cmd/puppeth: your Ethereum private network manager (#13854)
Diffstat (limited to 'vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go')
-rw-r--r--vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go b/vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go
new file mode 100644
index 000000000..9c1ffd145
--- /dev/null
+++ b/vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go
@@ -0,0 +1,12 @@
+// 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.
+
+// +build darwin dragonfly freebsd netbsd openbsd
+
+package terminal
+
+import "syscall"
+
+const ioctlReadTermios = syscall.TIOCGETA
+const ioctlWriteTermios = syscall.TIOCSETA