Codebase list golang-pty / upstream/0.0_git20141217.141937.1.05017fc doc.go
upstream/0.0_git20141217.141937.1.05017fc

Tree @upstream/0.0_git20141217.141937.1.05017fc (Download .tar.gz)

doc.go @upstream/0.0_git20141217.141937.1.05017fcraw · 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()
}