summaryrefslogtreecommitdiff
path: root/vendor/src/github.com/kr/pty/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/src/github.com/kr/pty/doc.go')
-rw-r--r--vendor/src/github.com/kr/pty/doc.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/src/github.com/kr/pty/doc.go b/vendor/src/github.com/kr/pty/doc.go
index 491c060b28..190cfbea92 100644
--- a/vendor/src/github.com/kr/pty/doc.go
+++ b/vendor/src/github.com/kr/pty/doc.go
@@ -2,9 +2,14 @@
package pty
import (
+ "errors"
"os"
)
+// ErrUnsupported is returned if a function is not
+// available on the current platform.
+var ErrUnsupported = errors.New("unsupported")
+
// Opens a pty and its corresponding tty.
func Open() (pty, tty *os.File, err error) {
return open()