mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
0595c01718
kr/pty was moved to creak/pty and the old location was archived. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
16 lines
349 B
Go
16 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()
|
|
}
|