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

Functions

func Open

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

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

Source Files

pty.go

Version
v1.10.0-rc.1
Published
Jan 25, 2018
Platform
darwin/amd64
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.