mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
1b401664d1
Signed-off-by: Wang Long <long.wanglong@huawei.com>
15 lines
265 B
Go
15 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
|
|
}
|