Documentation
¶
Overview ¶
Package eunix provides extra UNIX-specific system utilities.
Index ¶
- func Tcsetpgrp(fd int, pid int) error
- func WaitForRead(timeout time.Duration, files ...*os.File) (ready []bool, err error)
- type Termios
- func (term *Termios) ApplyToFd(fd int) error
- func (term *Termios) Copy() *Termios
- func (term *Termios) SetEcho(v bool)
- func (term *Termios) SetICRNL(v bool)
- func (term *Termios) SetICanon(v bool)
- func (term *Termios) SetIExten(v bool)
- func (term *Termios) SetVMin(v uint8)
- func (term *Termios) SetVTime(v uint8)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForRead ¶
WaitForRead blocks until any of the given files is ready to be read or timeout. A negative timeout means no timeout. It returns a boolean array indicating which files are ready to be read and any possible error.
Types ¶
type Termios ¶
Termios represents terminal attributes.
func TermiosForFd ¶
TermiosForFd returns a pointer to a Termios structure if the file descriptor is open on a terminal device.
Click to show internal directories.
Click to hide internal directories.