summaryrefslogtreecommitdiff
path: root/vendor/github.com/moby/term/termios_bsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/moby/term/termios_bsd.go')
-rw-r--r--vendor/github.com/moby/term/termios_bsd.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/moby/term/termios_bsd.go b/vendor/github.com/moby/term/termios_bsd.go
new file mode 100644
index 000000000..922dd4baa
--- /dev/null
+++ b/vendor/github.com/moby/term/termios_bsd.go
@@ -0,0 +1,12 @@
+// +build darwin freebsd openbsd netbsd
+
+package term
+
+import (
+ "golang.org/x/sys/unix"
+)
+
+const (
+ getTermios = unix.TIOCGETA
+ setTermios = unix.TIOCSETA
+)