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-20250802011938-fc9c972fa636 (latest)
- Published
- Aug 2, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 3 hours ago –
Tools for package owners.