Go: os/signal/internal/pty Index | Files

package pty

import "os/signal/internal/pty"

Package pty is a simple pseudo-terminal package for Unix systems, implemented by calling C functions via cgo. This is only used for testing the os/signal package.

Index

Package Files

pty.go

func Open Uses

func Open() (master *os.File, slave string, err error)

Open returns a master pty and the name of the linked slave tty.

type PtyError Uses

type PtyError struct {
    FuncName    string
    ErrorString string
    Errno       syscall.Errno
}

func (*PtyError) Error Uses

func (e *PtyError) Error() string

Package pty imports 4 packages (graph). Updated 2019-05-15. Refresh now. Tools for package owners.