(file *os.File, state *unix.Termios)
| 49 | } |
| 50 | |
| 51 | func SetState(file *os.File, state *unix.Termios) error { |
| 52 | fileFD := file.Fd() |
| 53 | fileFDInt := int(fileFD) |
| 54 | err := unix.IoctlSetTermios(fileFDInt, unix.TCSETS, state) |
| 55 | return err |
| 56 | } |
| 57 | |
| 58 | func WithVMIN(vmin uint8) Option { |
| 59 | return func(state *unix.Termios) { |
no outgoing calls
searching dependent graphs…