Codebase list golang-pty / 2520c5e doc.go
2520c5e

Tree @2520c5e (Download .tar.gz)

doc.go @2520c5eraw · history · blame

// 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()
}