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() (pty *os.File, processTTY string, err error)

Open returns a control pty and the name of the linked process 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 2021-01-21. Refresh now. Tools for package owners.