package console
import "gvisor.dev/gvisor/runsc/console"
Package console contains utilities for working with pty consols in runsc.
Index ¶
Functions ¶
func NewWithSocket ¶
NewWithSocket creates pty master/replica pair, sends the master FD over the given socket, and returns the replica.
func StdioIsPty ¶
func StdioIsPty() bool
StdioIsPty returns true if all stdio FDs are ptys.
Source Files ¶
console.go pty_linux.go
- Version
- v0.0.0-20250702182429-85e76111eb28 (latest)
- Published
- Jul 2, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 7 hours ago –
Tools for package owners.