Files
docker-docs/vendor/github.com/kr/pty/doc.go
David Lawrence 9bac73b7f7 update vendoring
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-03-23 11:34:39 -07:00

17 lines
349 B
Go

// Package pty provides functions for working with Unix terminals.
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()
}