1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/vendor/github.com/kr/pty/doc.go

17 lines
349 B
Go
Raw Normal View History

2013-09-12 23:42:26 -04:00
// Package pty provides functions for working with Unix terminals.
package pty
import (
"errors"
2013-09-12 23:42:26 -04:00
"os"
)
// ErrUnsupported is returned if a function is not
// available on the current platform.
var ErrUnsupported = errors.New("unsupported")
2013-09-12 23:42:26 -04:00
// Opens a pty and its corresponding tty.
func Open() (pty, tty *os.File, err error) {
return open()
}