console

package
v0.0.0-...-6cf66fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 9

Documentation

Overview

Package console contains utilities for working with pty consols in runsc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPty

func IsPty(fd uintptr) bool

IsPty returns true if FD is a PTY.

func NewWithSocket

func NewWithSocket(socketPath string) (*os.File, error)

NewWithSocket creates pty master/replica pair, sends the master FD over the given socket, and returns the replica.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL