1
0
Fork 0
forked from barak/tarpoon
tarpoon/vendor/github.com/opencontainers/runc/libcontainer/console.go

14 lines
265 B
Go

package libcontainer
import "io"
// Console represents a pseudo TTY.
type Console interface {
io.ReadWriteCloser
// Path returns the filesystem path to the slave side of the pty.
Path() string
// Fd returns the fd for the master of the pty.
Fd() uintptr
}