1// Package pty provides functions for working with Unix terminals. 2package pty 3 4import ( 5 "errors" 6 "os" 7) 8 9// ErrUnsupported is returned if a function is not 10// available on the current platform. 11var ErrUnsupported = errors.New("unsupported") 12 13// Opens a pty and its corresponding tty. 14func Open() (pty, tty *os.File, err error) { 15 return open() 16} 17