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.


Package Files


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

func (*PtyError) Unwrap Uses

func (e *PtyError) Unwrap() error

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