mirror of
https://github.com/creack/pty.git
synced 2026-03-31 10:37:09 +09:00
12 lines
202 B
Go
12 lines
202 B
Go
// Package pty provides functions for working with Unix terminals.
|
|
package pty
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
// Opens a pty and its corresponding tty.
|
|
func Open() (pty, tty *os.File, err error) {
|
|
return open()
|
|
}
|