package testpty
import "internal/testpty"
Package testpty is a simple pseudo-terminal package for Unix systems, implemented by calling C functions via cgo.
Index ¶
Variables ¶
Functions ¶
func Open ¶
Open returns a control pty and the name of the linked process tty.
If Open is not implemented on this platform, it returns ErrNotSupported.
Types ¶
type PtyError ¶
func (*PtyError) Error ¶
func (*PtyError) Unwrap ¶
Source Files ¶
- Version
- v1.20.9
- Published
- Sep 28, 2023
- Platform
- darwin/amd64
- Imports
- 5 packages
- Last checked
- 12 seconds ago –
Tools for package owners.