Codebase list golang-pty / debian/1.1.3-1 doc.go
debian/1.1.3-1

Tree @debian/1.1.3-1 (Download .tar.gz)

doc.go @debian/1.1.3-1raw · 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()
}