testpty

Imports

Imports #

"internal/syscall/unix"
"os"
"syscall"
"os"
"errors"
"fmt"
"os"
"C"
"os"

Constants & Variables

ErrNotSupported var #

var ErrNotSupported = *ast.CallExpr

Structs

PtyError struct #

type PtyError struct {
FuncName string
ErrorString string
Errno error
}

Functions

Error method #

func (e *PtyError) Error() string

Open function #

Open returns a control pty and the name of the linked process tty. If Open is not implemented on this platform, it returns ErrNotSupported.

func Open() (pty *os.File, processTTY string, err error)

Unwrap method #

func (e *PtyError) Unwrap() error

open function #

func open() (pty *os.File, processTTY string, err error)

open function #

func open() (pty *os.File, processTTY string, err error)

open function #

func open() (pty *os.File, processTTY string, err error)

ptyError function #

func ptyError(name string, err error) *PtyError

Generated with Arrow